This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Allocate memory
- From: Dimiter Stamenov <pamir at abv dot bg>
- To: java at gcc dot gnu dot org
- Date: Tue, 12 Feb 2008 18:26:03 +0200 (EET)
- Subject: Re: Allocate memory
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.
>