I am comming up with an issue where my application is starting up in an erea of memory on a 32bit machine with 8GB of RAM. I have an SQL server running and I want it to have the first 4GB of memory dedicated to its operation. I then want to force the web server jvm to take memory from the top 4GB of the memory space. Currently they are both starting in the bottom 4GB and wont even try to get memory from the top 4GB when there combined memory foot print hits 4GB.
Does anyone know how I can force the jvm to do this, or is it not possible to do?
--<p>Bill<p>"Make it idiot proof,<br /> and someone will make a better idiot" -- ANON
Author and all-around good cowpoke
posted 10 years ago
There is nothing special about the JVM - as far as the OS is concerned, it is just another program. Therefore you should investigate what the OS provides for control. Java tries to be as OS-agnostic as possible. Bill