HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- java_heap_size
Operating System - HP-UX
1832855
Members
2913
Online
110047
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
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
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-09-2010 11:07 PM
02-09-2010 11:07 PM
Hi,
I want to increase the java heap size.When i searched in net if ound some options like
-Xmn100M -Xms500M -Xmx500M
but i didn't find where/how to apply this option.
Thanks in advance.
I want to increase the java heap size.When i searched in net if ound some options like
-Xmn100M -Xms500M -Xmx500M
but i didn't find where/how to apply this option.
Thanks in advance.
Solved! Go to Solution.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2010 11:37 PM
02-09-2010 11:37 PM
Solution
Those options must be given to the JVM when you're starting your Java application.
You must find the command that actually starts the application. It's typically something like:
java
Change that to:
java -Xmn100M -Xms500M -Xmx500M
If your Java application is complex (something like a Weblogic server, for example), this command is probably embedded inside a startup script created by the application vendor. You must then examine the script and find out the best way to add these options to it.
Your application vendor might even have documented how you should add heap size options if you need them: read the documentation of your application.
MK
You must find the command that actually starts the application. It's typically something like:
java
Change that to:
java -Xmn100M -Xms500M -Xmx500M
If your Java application is complex (something like a Weblogic server, for example), this command is probably embedded inside a startup script created by the application vendor. You must then examine the script and find out the best way to add these options to it.
Your application vendor might even have documented how you should add heap size options if you need them: read the documentation of your application.
MK
MK
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP