Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've a citrix server where multiple users use a multiple java application. Is there a way to reduce the memory footprint of the jvm itself?

The max heap is already set fairly low (64MB), as the permgen (32MB) space and we're to the point that the jvm itself uses way more memory than the application itself (the committed area is around 350MB)

I'm looking for a way to reduce the jvm ram usage or to make the all the applications run within the same jvm or any other way of sharing common pages between running jvm (if possible) or try switch to switch to a jvm if a jvm exists having optimizations relative to this scenario

currently using windows 2003 server and sun java virtual machine 1.6

share|improve this question

If this is a threaded application, maybe controlling the thread stack size might help as well if there are a good amount of threads? Thread stack size is controlled with -Xss. Also, you profiled the code already?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.