After Upgrade from Java SE 7 to 8, “Out Of Memory: Metaspace” Errors Occur
(Doc ID 2118551.1)
Last updated on OCTOBER 22, 2019
Applies to:Java SE JDK and JRE - Version 8 and later
Information in this document applies to any platform.
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.
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.
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