- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Java heap size change and linux kernel
Operating System - Linux
1824635
Members
4228
Online
109672
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
Forums
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
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
тАО01-24-2007 10:15 AM
тАО01-24-2007 10:15 AM
Java heap size change and linux kernel
Hi all
If I were to increase the java heap size to 1GB (with +Xms option), is there any kernel parameters changes need to be changed?
Thanks.
If I were to increase the java heap size to 1GB (with +Xms option), is there any kernel parameters changes need to be changed?
Thanks.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2007 11:49 AM
тАО01-24-2007 11:49 AM
Re: Java heap size change and linux kernel
You won't need to change any kernel parameters to use a 1GB heap.
The -Xms option is actually the initial heap size rather than the maximum heap size. Starting with a larger initial heap size can improve early performance of java jvm processes by putting all the allocation overhead up front and reducing the number or allocation steps as a process is initially growing to a maximum heap size.
You may need to set the maximum heap size with -Xmx in addition to setting the initial heap size with -Xms. The -Xms value can't be larger than the -Xmx limit. The default for -Xmx is only 64M for a 32-bit sun java 1.5 jvm. The default for -Xmx is 1GB on a 64-bit sun java 1.5 jvm.
The -Xms option is actually the initial heap size rather than the maximum heap size. Starting with a larger initial heap size can improve early performance of java jvm processes by putting all the allocation overhead up front and reducing the number or allocation steps as a process is initially growing to a maximum heap size.
You may need to set the maximum heap size with -Xmx in addition to setting the initial heap size with -Xms. The -Xms value can't be larger than the -Xmx limit. The default for -Xmx is only 64M for a 32-bit sun java 1.5 jvm. The default for -Xmx is 1GB on a 64-bit sun java 1.5 jvm.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-24-2007 11:55 AM
тАО01-24-2007 11:55 AM
Re: Java heap size change and linux kernel
Thanks much.
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.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP