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: FW: Garbage collection issues in GCJ


> From: Florian Weimer
> 
> * Ben Keppler:
> 
> > Thanks for your response.  We have been unable to find documentation
> > detailing how to change the GC configuration including knobs for
> setting
> > the max heap size.
> 
> GCJ allocates as much memory as your application needs.  I think what
> David meant was that you should change your application to put less
> data into the Java heap (either by using the C heap, or by splitting
> it into multiple processes).

But some knobs are normally available via environment variables.
See

http://gcc.gnu.org/viewcvs/trunk/boehm-gc/doc/README.environment?revision=138078&view=markup

You can impose a maximum heap size if you insist.

Hans


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