Garbage collection problem
Jeff Sturm
jsturm@one-point.com
Tue Aug 20 14:02:00 GMT 2002
On Tue, 20 Aug 2002, Adam King wrote:
> I was very glad to see that when memory is avialble, the modified gcj
> beat Sun's JDK in all of our performance tests. Is there _anything_ I can
> do to improve the performace on "low" (64Mb) memory systems?
How much heap does your application need? Try running with
GC_PRINT_STATS=1 to get an idea of the frequency/duration of collections,
along with heap size.
If the mark phase of collection causes significant paging due to having a
heap larger than available memory, I'd expect some slowdown. In that case
incremental mode may help. I have no idea if incremental GC is usable on
win32, though.
Jeff
More information about the Java
mailing list