aspose file tools*
The moose likes Java in General and the fly likes Forcing jvm to start in higher memory area. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Forcing jvm to start in higher memory area." Watch "Forcing jvm to start in higher memory area." New topic
Author

Forcing jvm to start in higher memory area.

William Wild
Greenhorn

Joined: Dec 10, 2002
Posts: 23
Hi All,

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?

Cheers

Bill


--<p>Bill<p>"Make it idiot proof,<br /> and someone will make a better idiot" -- ANON
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12835
    
    5
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
 
wood burning stoves
 
subject: Forcing jvm to start in higher memory area.