My Oracle Support Banner

java.lang.OutOfMemoryError Reported by the GlassFish Message Queue Broker Caused by DirectByteBuffer Allocations (Doc ID 1319317.1)

Last updated on JANUARY 30, 2022

Applies to:

Oracle GlassFish Server - Version 2.1 and later
Information in this document applies to any platform.

Symptoms

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:

Changes

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.

Cause

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
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.