My Oracle Support Banner

After Upgrade from Java SE 7 to 8, “Out Of Memory: Metaspace” Errors Occur (Doc ID 2118551.1)

Last updated on APRIL 13, 2023

Applies to:

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

Symptoms

After upgrading from Java SE 7 to Java SE 8, a customer faced “Out Of Memory : Metaspace”.
They noticed that there was a gradual increase in the number of loaded classes.  Eventually they got the Out Of Memory error.
The expected behavior is that after the application starts and the required classes have been loaded, there should be very little increase in the MetaSpace.

Changes

Java : from a 1.7.0 version to 1.8.0_60

Jboss : from EAP 6.2 – 6.4

Plus there was an application framework change as well. 

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.