Re: monitor memory usage of JVW

Ashley Aitken <[email protected]> Mon, 9 Aug 2004 21:58:50 +0800
Newsgroups gmane.comp.web.webobjects.admin
Message-ID <[email protected]>
Hi Will (et al.),

On 09/08/2004, at 9:32 PM, Will Scheidegger wrote:

> We've encountered several OutOfMemoryExceptions recently so we decided 
> to increase the max heap size. First thing we noticed is that the WO 
> app launch only gives you the possibility to manage the JVM settings 
> on darwin. I did find a few posts on this subject in the archive, 
> including one from David Teran saying that you can set these options 
> in YourApp.woa/Contents/UNIX/UNIXClasspath.txt" (great place btw). So 
> I uncommented and adjusted the corresponding line in this file to
>
> JVMOptions       == "-Xmx128m -Xms32m"
>
> The app starts up fine, but I would like to monitor the effect on the 
> changes. What are my options to see what the settings of the JVM are 
> and what my current usage is?

Before you start monitoring I think you may want to recomment that line!

I believe that's Apple's cunning (or another word comes to mind) way of 
putting some configuration options into the classpath file.

Note the strange(?) "==" sign as well ...

Cheers,
Ashley.

--
Ashley Aitken
Perth, Western Australia
mrhatken at mac dot com