• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

Java Private Bytes Increase

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Everyone,
We are currently having an issue where the OS Virtual Memory allocated for java increases. Let me put our Environment.

Server � 4GB Physical RAM / 4 Xeon Processors.
OS � Windows 2003 server.
Application Server � tomcat 5.0.27 (A cluster of three nodes), with ISAPI Redirector 2 with IIS 6.0.
Java - jdk1.5.0
Java options used - -server -Xmx512m -XX:MaxNewSize=256m -Xminf.5 -Xmaxf.8 -XX:NewSize=2m -XX:NewRatio=3 -Xcompactgc -XX:+UseParallelGC -XX:+UseAdaptiveSizePolicy -XX arallelGCThreads=4 -XX:+CMSClassUnloadingEnabled -XX:MaxPermSize=256m -Xms256m -Xloggc:C:\logs\gc_log.log -XX:+PrintTLE

Now my problem is this, all three nodes start of without any problem and works for a while. Then the Virtual Memory (Private Bytes) on the OS and the Working Set increases as we work, then when the GC runs and the Working Set�s memory reduces, but the Virtual memory keeps on increases, after the VM reaches about 1GB the server hangs up.
What I would like to know is the following,
1.If have set the setting of maximum heap size as 512m, then why is the VM growing up to 1GB?
2.If the working set is reducing, then why is the VM keep on increasing?
3.Is there a setting to clear the VM on the OS?

Thanks in advance for any help you can provide.
 
It would give a normal human mental abilities to rival mine. To think it is just a tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic