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

Last updated on NOVEMBER 05, 2016

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

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms