- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Variation in Max Heap size - Java in HP UX
Operating System - HP-UX
1755730
Members
3711
Online
108837
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2010 09:38 PM
02-22-2010 09:38 PM
Variation in Max Heap size - Java in HP UX
Hi ,
I am using JBoss 4.2.3.GA server on a HP UX machine. Recently, our organization planned to buy a tool for performance monitoring of the enterprise applications. We have received reports that the maximum value of the heap is varying at times. As a direct result, I can see the CPU utilization (4 core, 3GHz machine) going up to 70% from a 30%. The funny thing is : actual heap utilization is almost constant (at 750MB)
I have attached an image of the heap variation. (In the picture of GC Heap, the green line represents the max heap while the red one marks the current utilization. We can notice that about the same time, the CPU utilization also increased.)
In the run.conf file (configuration file for JVM parameters), we have the following JVM parameters :
JAVA_OPTS="-server -Xms2048m -Xmx2048m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:NewSize=640m -X:MaxNewSize=640m -XX:SurvivorRatio=16 -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -XX:+UseParallelGC -XX:ParallelGCThreads=4"
As we can see, the whole point of making the min and max heap values to be same (2GB) was to avoid the dynamic heap memory allocation by the OS. I am unable to understand why the max heap is varying even though the actual utilization remains the same.
Please let me know if I miss something.
I have posted this query in JBoss forums, but I've been asked to check with HP UX team.
I am using JBoss 4.2.3.GA server on a HP UX machine. Recently, our organization planned to buy a tool for performance monitoring of the enterprise applications. We have received reports that the maximum value of the heap is varying at times. As a direct result, I can see the CPU utilization (4 core, 3GHz machine) going up to 70% from a 30%. The funny thing is : actual heap utilization is almost constant (at 750MB)
I have attached an image of the heap variation. (In the picture of GC Heap, the green line represents the max heap while the red one marks the current utilization. We can notice that about the same time, the CPU utilization also increased.)
In the run.conf file (configuration file for JVM parameters), we have the following JVM parameters :
JAVA_OPTS="-server -Xms2048m -Xmx2048m -XX:PermSize=256m -XX:MaxPermSize=256m -XX:NewSize=640m -X:MaxNewSize=640m -XX:SurvivorRatio=16 -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -XX:+UseParallelGC -XX:ParallelGCThreads=4"
As we can see, the whole point of making the min and max heap values to be same (2GB) was to avoid the dynamic heap memory allocation by the OS. I am unable to understand why the max heap is varying even though the actual utilization remains the same.
Please let me know if I miss something.
I have posted this query in JBoss forums, but I've been asked to check with HP UX team.
- Tags:
- Java
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP