- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - OpenVMS
- >
- java.lang.OutOfMemoryError: requested 32744 bytes ...
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- Report Inappropriate Content
07-07-2010 05:02 AM
07-07-2010 05:02 AM
Re: java.lang.OutOfMemoryError: requested 32744 bytes for ChunkPool::allocate. Out of swap space?
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP