HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Sizing permanent area of JVM
Operating System - HP-UX
1829752
Members
1769
Online
109992
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
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
05-13-2005 01:30 AM
05-13-2005 01:30 AM
Sizing permanent area of JVM
I've done some testing, and if the permanent size (controlled with -XX:MaxPermSize= and -XX:PermSize= command line options to the JVM) is not big enough, you appear to end up getting an java.lang.OutOfMemoryError when the ClassLoader attempts to load a class into the permanent area (and this causes subsequent application problems). As classes are loaded on demand, and there are techniques that can be used to defer loading of classes (e.g. using reflection), and by default application classes appear not to be unloaded from this area (verified by turning on -verbose to the JVM), it appears critical to size the permanent area to avoid potential stability problems.
Short of ensuring 100% code coverage (including potentially 100% code coverage of any libraries used), does anyone have any good sizing ideas/methodologies for the permanent area? (We're currently using 1.4.2.08).
Short of ensuring 100% code coverage (including potentially 100% code coverage of any libraries used), does anyone have any good sizing ideas/methodologies for the permanent area? (We're currently using 1.4.2.08).
- Tags:
- JVM
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2005 01:36 AM
05-13-2005 01:36 AM
Re: Sizing permanent area of JVM
If you can afford the time, I'd recommend a graudual approach.
Keep increasing the memory allocation in increments until you reach a state where operations are stable. Then make an allowance for peak usage to give yourself some buffer space.
SEP
Keep increasing the memory allocation in increments until you reach a state where operations are stable. Then make an allowance for peak usage to give yourself some buffer space.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2005 01:43 AM
05-13-2005 01:43 AM
Re: Sizing permanent area of JVM
Steven, I understand this approach. My concern is that without understanding levels of code coverage (including in (say) database libraries etc.) it's difficult for me to convince myself that I've peaked out usage.... I've seen situations where permanent area size suddenly grows very rapidly several days into a test run because some code path has suddenly been executed for the first time... This is particularly of concern if areas perform deferred loading of error-handling code which pulls in other classes (as often not all error paths are executed until a long way through a test run).
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