My Oracle Support Banner

JVM Error Message "java.lang.OutOfMemoryError: Direct buffer memory" (Doc ID 1493911.1)

Last updated on NOVEMBER 06, 2018

Applies to:

Java SE JDK and JRE - Version 5.0 and later
Information in this document applies to any platform.

Symptoms

Your Java app stops working or does not even start anymore. The following error message is thrown. The significant stack trace lines are written in bold.

 

Changes

The maximum heap size has changed, either implicitly or explicitly, or the space requirement for DirectBuffers has increased.

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
References

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