- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Application is not starting because of large java ...
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
Discussions
Discussions
Forums
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
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
тАО10-18-2006 01:34 AM
тАО10-18-2006 01:34 AM
Platform used is HP-UX (B.11.11 U 9000/800)
JDK version used is
java version "1.5.0.03"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0.03-_13_feb_2006_16_39)
Java HotSpot(TM) Server VM (build 1.5.0.03 jinteg:02.13.06-15:51 PA2.0 (aCC_AP), mixed mode)
I have one application which uses native code.
If jvm options are set to have heap size 2048M or greater, then application is not starting.
The options used for setting heap size is
-Xms2048M -Xmx2048M
The application is not starting, It is throwing below error :
[18/Oct/2006:05:22:43] catastrophe (26773): CORE4005: Internal error: unable to create JVM
[18/Oct/2006:05:22:43] failure (26773): CORE4009: Failed to load JVM (check your JRE)
After searching in the google, I could find information at
http://www.hp.com/products1/unix/java/infolibrary/prog_guide/expanding_memory.html
As suggested in the above website, I used
chatr +q3p enable
then my application is starting.
Is there any way other than the above command.
If at all, i want to use the above command 'chatr', then what is the impact, please let me know.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2006 01:40 AM
тАО10-18-2006 01:40 AM
Re: Application is not starting because of large java heap size on HP-UX platform
The "impact" is only to the process involved. You have a 32-bit process that needs more data space (heap) instead of shared memory. Hence you use 'q3p' to increase the available "fence" size from 1.9 GB to 2.85 GB.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2006 01:42 AM
тАО10-18-2006 01:42 AM
Re: Application is not starting because of large java heap size on HP-UX platform
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2006 02:34 AM
тАО10-18-2006 02:34 AM
Re: Application is not starting because of large java heap size on HP-UX platform
http://docs.hp.com/en/5185-6522/ch08s03.html
The limitations and and concerns are due to trying to make a 32bit program access more than 1.7Gb of local memory which is why 10 years ago, HP-UX was redesigned to run in 64Bit mode and support 64bit programs which essentially have no memory limits.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2006 08:53 PM
тАО10-26-2006 08:53 PM
Re: Application is not starting because of large java heap size on HP-UX platform
In the similar way, is there any linker option
which expands memory beyond 1.7GB instead of using the below command.
chatr +q3p enable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2006 11:55 PM
тАО10-26-2006 11:55 PM
SolutionAll this craziness is required because 32bit programs are extremely limited. It doesn't make a lot of sense to keep playing with 32bit code when compiling as a 64bit program gives you unlimited memory (dozens, hundreds of Gb). The attached program can be compiled and chatr'ed in 6 different ways (5 ways on 11.11) to demonstrate different heap (local data) limitations.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2006 12:57 AM
тАО10-27-2006 12:57 AM