- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: setting up heap size for Java application in H...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
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
Discussion Boards
Community
Resources
Forums
Blogs
- 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
08-31-2006 02:17 AM
08-31-2006 02:17 AM
setting up heap size for Java application in HPUX 11i v2 PA-RISC
Anyone out there give me some tips on how to set/change the heap size? Is there any O.S level kernel parameters needs modification?
Thanks in advance for your help.
Rajim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2006 02:27 AM
08-31-2006 02:27 AM
Re: setting up heap size for Java application in HPUX 11i v2 PA-RISC
Ultimately, the limit for the heap size is going to be governed by 'maxdsiz' for 32-bit processes or by 'maxdsiz_64bit' for 64-bit processes. Hence, you may need to increase the appropriate kernel parameter.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2006 02:33 AM
08-31-2006 02:33 AM
Re: setting up heap size for Java application in HPUX 11i v2 PA-RISC
We have 16GB memory and 4 Processors.
What would be the numbers I need to set it to these two parameters you mentioned?
Appreciate your assistance on this.
Thanks
RAJIM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2006 02:36 AM
08-31-2006 02:36 AM
Re: setting up heap size for Java application in HPUX 11i v2 PA-RISC
To increase the max. size of Java's memory allocation pool:
# java -Xmx
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2006 02:39 AM
08-31-2006 02:39 AM
Re: setting up heap size for Java application in HPUX 11i v2 PA-RISC
Where can we set this? Is this Java Configuration? or HP-UX configuration?
Please help.
Thanks.
Rajim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2006 02:43 AM
08-31-2006 02:43 AM
Re: setting up heap size for Java application in HPUX 11i v2 PA-RISC
The value you need and/or choose will depend upon your specific environment.
Like most kernel parameters, 'maxdsiz' and 'maxdsiz_64bit' are simply "fences". They are boundries or limits to prevent any one process from consuming more of a resource than it should.
http://docs.hp.com/en/B2355-60105/maxdsiz.5.html
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2006 03:11 AM
08-31-2006 03:11 AM
Re: setting up heap size for Java application in HPUX 11i v2 PA-RISC
'-Xmx
# java -Xmx500m -jar YourApp.jar
will set the JVM heap to 500MB.
The JVM heap size cannot exceed 'maxdsiz' or 'maxdsiz_64bit'. If you wish to make the heap size larger than 'maxdsiz_64bit' (for 64-bit), you must first increase this kernel parameter and recompile.
Also, please remember to assign points to any responses that helped you. You are currently at 74/160.
PCS