This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Allocate memory


Andrew Haley wrote:
Dimiter Stamenov wrote:
OK, but I am getting OutOfMemoryException - so what could be done?

Well, it's either really running out of memory or you've hit a bug.


Do you mean that I have to rewrite that part of the code in C++?

I wouldn't have thought so. The stack trace should give you an idea why it's
running out of memory.



Allow me to suggest using the heap analyzer available in recent GCC-4.3 snapshots:


http://gcc.gnu.org/onlinedocs/gcj/Invoking-gc_002danalyze.html#Invoking-gc_002danalyze

David Daney


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]