RE: FW: Garbage collection issues in GCJ
"Boehm, Hans" <[email protected]>
| Newsgroups | gmane.comp.gcc.java.devel |
|---|---|
| Message-ID | <238A96A773B3934685A7269CC8A8D0426F294CD63D@GVW0436EXB.americas.hpqcorp.net> |
> 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