HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: memory problem when using java
Operating System - HP-UX
1833863
Members
2325
Online
110063
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
08-20-2003 03:24 AM
08-20-2003 03:24 AM
memory problem when using java
Hi,
I am getting some error related to memory when excuting java program in HPUX.
Warning:system call pthread_create failed.
return value: 11
errno: 22
parameter:thread = 4a
attr = 48
start_routine = 7aea8656
arg = a402f0
startup java.lang.OutOfMemoryError: unable to create new native thread
Do I need to change any patches or kernel parametres .
Thanks
Neelesh
I am getting some error related to memory when excuting java program in HPUX.
Warning:system call pthread_create failed.
return value: 11
errno: 22
parameter:thread = 4a
attr = 48
start_routine = 7aea8656
arg = a402f0
startup java.lang.OutOfMemoryError: unable to create new native thread
Do I need to change any patches or kernel parametres .
Thanks
Neelesh
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 03:34 AM
08-20-2003 03:34 AM
Re: memory problem when using java
This was due to hitting the limit imposed by the nkthreads kernel parameter. Please increase this kernel tunable.
http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparam.NkernelThreadsMax.html
http://docs.hp.com/hpux/onlinedocs/939/KCParms/KCparam.NkernelThreadsMax.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 03:37 AM
08-20-2003 03:37 AM
Re: memory problem when using java
Make sure you have the required patches installed.
Make sure you have enough swap. 2* RAM is a good estimate.
Make sure that maxdsiz is large enough (as a guess, set it to 1Gb)
Make sure nkthreads and max_thread_proc are high enough.
Also ensure other basic kernel parameters are high enough too (nproc, etc)
They are some suggestions.
You would need to post some more details about your server configuration for further help - kernel parameters (kmtune/sysdef, swapinfo -tam, amount of RAM, etc).
Tim.
Make sure you have enough swap. 2* RAM is a good estimate.
Make sure that maxdsiz is large enough (as a guess, set it to 1Gb)
Make sure nkthreads and max_thread_proc are high enough.
Also ensure other basic kernel parameters are high enough too (nproc, etc)
They are some suggestions.
You would need to post some more details about your server configuration for further help - kernel parameters (kmtune/sysdef, swapinfo -tam, amount of RAM, etc).
Tim.
Yesterday is history, tomorrow is a mystery, today is a gift. That's why it's called the present.
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