- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: java.lang.OutOfMemoryError: requested 32744 by...
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
тАО06-14-2010 06:14 AM
тАО06-14-2010 06:14 AM
java.lang.OutOfMemoryError: requested 32744 bytes for ChunkPool::allocate. Out of swap space?
java.lang.OutOfMemoryError: requested 32744 bytes for ChunkPool::allocate. Out of swap space?
Possible causes:
- not enough swap space left, or
- kernel parameter MAXDSIZ is very small.
My environment is:
Java version: 6.0-011
Operating System: OpenVMS 8.3
java version "6.0"
Java(TM) SE Runtime Environment
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0-1 06/25/2009-12:58 IA64 (c2)W, mixed mode)
I have read a lot of links regarding the use of hpjtune. Is it also available for OpenVMS?
Do I have to use JMX to obtain the same results?
Thanks.
Vince
- Tags:
- Java
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2010 07:26 AM
тАО06-14-2010 07:26 AM
Re: java.lang.OutOfMemoryError: requested 32744 bytes for ChunkPool::allocate. Out of swap space?
The Java HotSpot VM cannot expand its heap size if memory is completely
allocated and no swap space is available. This can occur, for example, when
several applications are running simultaneously.
When this happens, the VM will exit after printing the following -
Exception java.lang.OutOfMemoryError: requested
Out of swap space?
If you see this symptom, consider increasing the available swap space by
allocating more of your disk for virtual memory and/or by limiting the number
of applications you run simultaneously.
For more details, Refer
http://java.sun.com/j2se/1.5.0/relnotes.html
-> Section "HotSpot VMs"
HPjtune is a Java Garbage Collection (GC) visualization tool for analyzing
garbage collection activity in a Java program. This is for HP-UX OS.
For more information -
https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=HPJTUNE
May be there is some program out there which is eating up a lot of heap space
causing it to get exhausted.
Regards,
Murali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2010 12:17 PM
тАО06-14-2010 12:17 PM
Re: java.lang.OutOfMemoryError: requested 32744 bytes for ChunkPool::allocate. Out of swap space?
expanding process virtual memory has nothing to do with system swap- or paging-file, and there is no such thing as "kernel MAXDSIZ", all sounds like Unix.
Process virtual memory on VMS is determined by the UAF parameter PGFLQUO: use AUTHORIZE to show the users parameters, increase PGFLQUO to see if resolves the problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2010 07:23 PM
тАО06-14-2010 07:23 PM
Re: java.lang.OutOfMemoryError: requested 32744 bytes for ChunkPool::allocate. Out of swap space?
This might be due to a memory leak in the application.
I believe you get this after the application runs for long.Try using this VM arguments while running the application.
-XX:+HeapDumpOnOutOfMemoryError
The dump file that is generated can be analyzed by using Eclipse MAT (I usually do that). For that you need to copy the dump file to windows and install Eclipse MAT.
Regards,
Rishi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2010 05:31 PM
тАО06-19-2010 05:31 PM
Re: java.lang.OutOfMemoryError: requested 32744 bytes for ChunkPool::allocate. Out of swap space?
Shouldn't java garbage collection take care of that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2010 09:33 PM
тАО06-19-2010 09:33 PM
Re: java.lang.OutOfMemoryError: requested 32744 bytes for ChunkPool::allocate. Out of swap space?
Memory leak (a misnomer for java) in java mostly occurs when the application keeps on allocating VM but never returns back to the pool.
GC runs on an object only when it is not referenced but due to error in programming it might happen that an object is not dereferenced and always stays in memory. This then becomes a cause of memory leak and if an application is running for long similar objects cause the heap memory to be exhaused unallowing any further memory allocation causing outofmemory.
Chk this
http://java.sun.com/javase/6/webnotes/trouble/TSG-VM/html/memleaks.html
http://www.eclipse.org/mat/
Regards,
Rishi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-07-2010 05:02 AM
тАО07-07-2010 05:02 AM