Author: James Swafford
Date: 05:32:24 11/10/05
Go up one level in this thread
On November 09, 2005 at 23:50:23, Michael Yee wrote: >You can also set some jvm parameters relating to the heap size: > >http://www.caucho.com/resin-3.0/performance/jvm-tuning.xtp > >I've run into problems where I needed to increase the max heap size because I >had some very large data structure. But if you happen to know the max amount of >memory your program would need at any time, maybe you could limit it to that? > >Michael Yes, I actually have done that. I increased the initial heap to 64m and max to 128m. I've also done a memory profile (http://www.khelekore.org/jmp/), which is a pretty nice package. It never showed the heap growing very large. I should've mentioned that we're using 1.6 (Mustang) on the clients. It's not production yet-- it's beta. But, unfortunately, 1.5 was a real dog in terms of speed (just clicking around was horrible, and it's well known that 1.5 suffered some serious regression in terms of speed). There is a bug in the HTMLEditorKit in 1.4 which was fixed in Mustang, so we went with it. I think that decision has come back to bite me... I seriously think the memory leak is coming from the JDK. -- James > >P.S. If you find a good solution, please post it since I'd be interested (and >maybe others too).
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.