> From: Jerome Lepage - AKEROZ [mailto:[EMAIL PROTECTED]
> But when i launch tomcat with this env vars :
> JAVA_OPTS="-XX:MaxPermSize=512m -Xms24m -Xmx512m"

Well, yes :-).  That should give you enough perm space.

> Tomcat looks like not really care about the memory i grant to JVM.
> It's seems that tomcat have the memory but don't give to the
> différents contexts
> I have a poor "Free memory" at each time...

I'm simplifying here - you're better off reading the JVM docs or waiting for 
Chuck* to tell me I'm wrong ;-).  Any Java virtual machine will only collect 
garbage a) when you tell it (and sometimes not then), or b) when it runs out of 
free memory and needs to allocate something.  Low free memory is not 
necessarily a problem - the JVM may just be being lazy about garbage collection.

                - Peter

* who has forgotten more about Java virtual machines than I will ever learn

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to