malloc memory stuck

DanKarron at UCBVAX.BERKELEY.EDU DanKarron at UCBVAX.BERKELEY.EDU
Thu Jan 31 05:59:47 AEST 1991


I was tracing a bug in my program that caused a HUGH (almost, but very large)
value to be calloc'ed. The program crashed with a big core dump, but I just
noticed that gr_osview shows all the memory in core being used as userdata.
I have 32mb.

The program is dead and gone, and any memory that is tried to allocate should
be freed. This is using the libmalloc.a version malloc, and I
will have to reboot my kernel if there is no way to unlock(unpin ?) those
pages of memory. My machine is now swaping for everything. Performance
is poor, and a crash in malloc should free any memory it tried to acquire.

This might have something to do with other reports here on the net about
too much memory being used apparently for nothing.

dan.
+-----------------------------------------------------------------------------+
| karron at nyu.edu (E-mail alias that will always find me)                      |
| Fax: 212 263 7190           *           Dan Karron, Research Associate      |
| . . . . . . . . . . . . . . *           New York University Medical Center  |
| 560 First Avenue           \*\    Pager <1> (212) 397 9330                  |
| New York, New York 10016    \**\        <2> 10896   <3> <your-number-here>  |
| (212) 263 5210               \***\_________________________________________ |
| Main machine: karron.med.nyu.edu (128.122.135.3) IRIS 85GT                  |
+-----------------------------------------------------------------------------+

NOTE PHONE NUMBER CHANGE: The Med Ctr has changed from 340 to 263 exchange.



More information about the Comp.sys.sgi mailing list