out of memory

Mihai Surdeanu mihai at seas.smu.edu
Sat Jan 9 16:43:47 PST 1999

This is a quote from gc_heap_malloc:

 * If we ran out of memory, a OutOfMemoryException is
 * thrown.  If we fail to allocate memory for it, all
 * is lost.

If there is not enough memory for an OutOfMemoryException, kaffe crashes
with "Segmentation fault" and no message, which is pretty annoying. I see
no reason why the objects needed to throw this exception cannot be
allocated in advance such that kaffe could always throw this exception and
exit decently (if the exception is not caught by the app).
Am I missing something here?

Mihai Surdeanu

More information about the kaffe mailing list