FW: Garbage collection issues in GCJ
Boehm, Hans
hans.boehm@hp.com
Sun Jan 23 19:12:00 GMT 2011
> 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
More information about the Java
mailing list