Allocate memory

Dimiter Stamenov pamir@abv.bg
Tue Feb 12 16:26:00 GMT 2008


OK, but I am getting OutOfMemoryException - so what could be done? Do you mean that I have to rewrite that part of the code in C++?
Thanks
Dimiter
 >-------- Îðèãèíàëíî ïèñìî --------
 >ГЋГІ: Andrew Haley <aph@redhat.com>
 >Îòíîñíî: Re: Allocate memory
 >Äî: Dimiter Stamenov <pamir@abv.bg>
 >Èçïðàòåíî íà: Âòîðíèê, 2008, Ôåâðóàðè 12 17:46:34 EET
 >----------------------------------
 >
 >Dimiter Stamenov wrote:
 >> Hi,
 >> 
 >> Is there any way in gcj compilation to tell the compiled executable to allocate more memory? 
 >
 >> I mean something like -Xmx JVM argument when running a pure Java application.
 >
 >Not that I know of. It's not something you'd need, anyway:
 >our gc doesn't allocate memory in a single block as Sun's JVM
 >does.
 >
 >Andrew.
 >


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /