- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: JVM Heap Settings
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
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
тАО06-23-2009 12:50 AM
тАО06-23-2009 12:50 AM
JVM Heap Settings
Whenever I try to run a JBoss server(4.2.3.GA) installed on HP-UX with JVM Heap Settings of more than 3.5GB for 32 bit JVM Mode, JBoss does not startup and no logs -server or boot log files in Jboss/deploy folder are generated . I wonder what is happening? I tried doing ps -ef|grep java but it seems the java process is not even loaded in HP-UX.
I even searched in syslog and eventlog still no luck. Lastly, I searched for core dump files in PWD and in $USER_HOME directory, but there were no files generated.
Please help me as to what is happening here? Are there any other log files that I can look into? I expected it to crash whenever I am giving higher heap settings than 3.5 GB or atleast some heap dump or OutOfMemory error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2009 02:04 AM
тАО06-23-2009 02:04 AM
Re: JVM Heap Settings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2009 02:51 AM
тАО06-23-2009 02:51 AM
Re: JVM Heap Settings
1 Intel(R) Itanium 2 9100 series processor (1.67 GHz, 18 MB)
666 MT/s bus, CPU version A1
2 logical processors (2 per socket)
Memory: 16363 MB (15.98 GB)
Firmware info:
Firmware revision: 04.11
FP SWA driver revision: 1.18
IPMI is supported on this system.
BMC firmware revision: 5.24
Platform info:
Model: "ia64 hp server rx2660"
OS info:
Release: HP-UX B.11.31
Machine: ia64
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2009 03:00 AM
тАО06-23-2009 03:00 AM
Re: JVM Heap Settings
Please post the output of the below command too.
#kctune -q maxdsiz
#kctune -q maxdsiz_64bit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2009 03:05 AM
тАО06-23-2009 03:05 AM
Re: JVM Heap Settings
Tunable Value Expression Changes
maxdsiz 1073741824 Default Immed
kctune -q maxdsiz_64bit
Tunable Value Expression Changes
maxdsiz_64bit 4294967296 Default Immed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2009 03:07 AM
тАО06-23-2009 03:07 AM
Re: JVM Heap Settings
kctune(1m) doesn't use -q, you want:
kctune maxdsiz maxdsiz_64bit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2009 03:14 AM
тАО06-23-2009 03:14 AM
Re: JVM Heap Settings
Tunable Value Expression Changes
maxdsiz 1073741824 Default Immed
maxdsiz_64bit 4294967296 Default Immed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2009 03:14 AM
тАО06-23-2009 03:14 AM
Re: JVM Heap Settings
Current maxdsiz is only 1GB , increase it to 4 Gb.
Regards,
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2009 03:17 AM
тАО06-23-2009 03:17 AM
Re: JVM Heap Settings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2009 03:19 AM
тАО06-23-2009 03:19 AM
Re: JVM Heap Settings
# kctune maxdsiz=4GB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2009 03:25 AM
тАО06-23-2009 03:25 AM
Re: JVM Heap Settings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2009 05:27 AM
тАО06-23-2009 05:27 AM
Re: JVM Heap Settings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2009 07:42 PM
тАО06-23-2009 07:42 PM
Re: JVM Heap Settings
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2009 09:11 PM
тАО06-23-2009 09:11 PM
Re: JVM Heap Settings
maxdsiz and maxdsiz_64bit
maxdsiz and maxdsiz_64bit specify the maximum data segment size, in bytes, for an executing process.
Acceptable Values:
maxdsiz for 32-bit processors:
Minimum
0x400000 (4 Mbytes)
Maximum
0x7B03A000 (approx 2 Gbytes)
Default
0x4000000 (64 Mbytes)
maxdsiz_64bit for 64-bit processors:
Minimum
0x400000 (4 Mbytes)
Maximum
4396972769279
Default
0x4000000 (64 Mbytes)
But if you set these values too high then system can face huge paging ,becoz any memory eating process can allocate as much virtual memory as it could.
Regards,
Aneesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2009 12:14 AM
тАО06-24-2009 12:14 AM
Re: JVM Heap Settings
More than the swapspace you have. It is a 64 bit value.
You could start with 13 GB.