- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Increasing HEAP size for a Java process vs. kernel...
Operating System - HP-UX
1745786
Members
3388
Online
108722
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
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
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
тАО12-03-2008 07:41 AM
тАО12-03-2008 07:41 AM
Increasing HEAP size for a Java process vs. kernel parameters
Hello all,
due to increasing memory dempands of our Java application, we plan to increase its heap size from 4GB to 5GB (changing "-Xmx4096 -Xmx
4096 to -Xmx5120). What kernel parameters could restrict full utilisation of the increase? I am aware of:
maxdsiz
maxdsiz_64bit
maxssiz
maxssiz_64bit
maxtsiz
maxtsiz_64bit
I am not sure if:
maxfiles
maxfiles_lim
maxswapchunks
maxuprc
nbuf
nfile
swchunk
nproc
npty
could also have an impact or not. Please, what parameters should be checked for the increasing of java heap size? Thanks in advance for a feedback.
due to increasing memory dempands of our Java application, we plan to increase its heap size from 4GB to 5GB (changing "-Xmx4096 -Xmx
4096 to -Xmx5120). What kernel parameters could restrict full utilisation of the increase? I am aware of:
maxdsiz
maxdsiz_64bit
maxssiz
maxssiz_64bit
maxtsiz
maxtsiz_64bit
I am not sure if:
maxfiles
maxfiles_lim
maxswapchunks
maxuprc
nbuf
nfile
swchunk
nproc
npty
could also have an impact or not. Please, what parameters should be checked for the increasing of java heap size? Thanks in advance for a feedback.
- Tags:
- Java
- kernel parms
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2008 07:48 AM
тАО12-03-2008 07:48 AM
Re: Increasing HEAP size for a Java process vs. kernel parameters
Hi Pavel:
The data or heap space is going to be limited by 'maxdsiz' for 32-bit processes and by 'maxdsiz_64bit' for 64-bit processes. These should be the only parameters you need to factor into your increase.
Regards!
...JRF...
The data or heap space is going to be limited by 'maxdsiz' for 32-bit processes and by 'maxdsiz_64bit' for 64-bit processes. These should be the only parameters you need to factor into your increase.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2008 09:51 AM
тАО12-03-2008 09:51 AM
Re: Increasing HEAP size for a Java process vs. kernel parameters
assuming you have a 64 bit application and that case only chaning maxdsize64bit goign to help .Looke like you can change the value online from 11.23 onwards
#kctune -q maxdsiz_64bit
Tunable Value Expression Changes
maxdsiz_64bit 10737418240 10737418240 Immed
#kctune -q maxdsiz_64bit
Tunable Value Expression Changes
maxdsiz_64bit 10737418240 10737418240 Immed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-03-2008 10:52 AM
тАО12-03-2008 10:52 AM
Re: Increasing HEAP size for a Java process vs. kernel parameters
With the caveat that this only affects new processes (ones already running keep the limit from the time they started... otherwise you'd have to potentially go kill folks when the limit was lowered and other messy things).
Technically you should look at the Total line, Free column of "swapinfo -atm"... The Java heap will need swap reservation to be created, so your total swap comes into play. Hence you may need to care about maxswapchunks (only on 11.0 or 11.11, obsolete on later releases), swchunk and swapmem_on (obsolete on 11.31) since those can affect configured swap space. Most likely there's still plenty of swap space, though... just check to be sure.
Technically you should look at the Total line, Free column of "swapinfo -atm"... The Java heap will need swap reservation to be created, so your total swap comes into play. Hence you may need to care about maxswapchunks (only on 11.0 or 11.11, obsolete on later releases), swchunk and swapmem_on (obsolete on 11.31) since those can affect configured swap space. Most likely there's still plenty of swap space, though... just check to be sure.
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