Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Forcing jvm to start in higher memory area.

 
William Wild
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13062
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic