bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug awt/29420] OutOfMemory in image handling


From: fkung at redhat dot com
Subject: [Bug awt/29420] OutOfMemory in image handling
Date: 6 Nov 2006 21:08:43 -0000


------- Comment #17 from fkung at redhat dot com  2006-11-06 21:08 -------
Created an attachment (id=12554)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12554&action=view)
suppress segfaults, throw java exceptions instead

Yes, the segfaults occur when we try to allocate a Java array from native
code... we don't always check to make sure the array was allocated
successfully, so it dies somewhat ungracefully.  If you apply the attached
patch, it should throw OutOfMemoryError's instead of segfaulting.

Which all tells me that it's a Java leak, not a native leak, since we're
running out of heap space.  Memory usage seems pretty steady right now from my
debug logs (I can't trigger the OOME any more), but I'll run some more
extensive tests on it again.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29420





reply via email to

[Prev in Thread] Current Thread [Next in Thread]