java.lang.OutOfMemoryError: Metaspace

Solution Verified - Updated -


  • java.lang.OutOfMemoryError: Metaspace
  • Out of Memory Metaspace errors shortly after startup or certain CLI commands;


  • OpenJDK 1.8
  • Oracle JDK 1.8
  • JBoss Enterprise Application Platform (EAP)
    • 6
    • 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In