Memory overflow in kaffe

Frank Mehnert Frank.Mehnert at
Wed Mar 19 07:17:56 PST 1997


There is no heap checking in kaffe (-mx option doesn't work) so if
malloc/calloc/realloc returns NULL we should get an OutOfMemory exception.
But throwException does need memory itself - couldn't we include memory
overflow checkings before malloc? Possibly as macros (can be disabled if
one work on UNIX machines with an 'infinitly' amount of memory)?


Frank Mehnert
email: Frank.Mehnert at

More information about the kaffe mailing list