wood burning stoves 2.0*
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

Forcing jvm to start in higher memory area.

William Wild

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?



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

Joined: Mar 22, 2000
Posts: 12761
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.
I agree. Here's the link: http://aspose.com/file-tools
subject: Forcing jvm to start in higher memory area.
Similar Threads
Limit of Memory size
Is this computer powerful enough to deveolope applications with XCode?
Is this a Java Memory problem or a Windows / SQL Issue
Tomcat & Memory
JVM, how it works?