java.lang.OutOfMemoryError Reported by the GlassFish Message Queue Broker Caused by DirectByteBuffer Allocations
(Doc ID 1319317.1)
Last updated on JULY 20, 2021
Applies to:Oracle GlassFish Server - Version 2.1 and later
Information in this document applies to any platform.
***Checked for relevance on 17-Jun-2013***
When running GlassFish Message Queue on a 32-bit JVM with a large Java heap and with a "shared" thread pool management configuration for the Message Queue (MQ) broker, an "OutOfMemoryError" could occur. An error message similar to this can be seen in the MQ broker's log file:
Changing the thread pool management configuration mode from "dedicated", which is the default, to "shared", as described in the MQ Administration Guide, can trigger this issue.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document