Can't get the VM to use virutal memory
843798Jan 17 2007 — edited Jan 31 2007Hi all,
Here the configuration I'm running :
- Debian 3.1
- java 1.5.0_09
- 1 Go of physical memory
- 2,6 Go of virtual memory
- ulimit : no limit
I have a webapp deployed on Tomcat 5.5 wich I have to deploy several times on the same server. Guess what happens : I'm running short on memory. The physical memory usage climbs to 99% and then application doesn't want to do anything new ...
I thought it was because of the default values for Xms and Xmx, so I changed them to this : -Xms256m -Xmx512m (keep in mind that this amount of memory is not available at the time I start the server, i only have 400Mo free). Unfortunatly, I get the same error (some sort of out of memory one) and same behaviour.
My problem is : the JVM does NOT use the virtual memory at all !
What have done wrong ? Any guess ?
Thanks for your time,
Jerome