How to define MaxMetaspaceSize in EAP 6 while using Java 8?

Solution Verified - Updated -

Issue

  • EAP configuration has a specific `permgen' to set the maximum size for the permanent generation in Java 7 (and lower)
<jvm name="default">
    <heap size="1000m" max-size="1000m"/>
    <permgen max-size="512m"/>
</jvm>
  • When using Java 8 with JBoss EAP 6 there is no specific element to define the MaxMetaspaceSize.
  • Are there any plans to introduce this configuration element in future JBoss EAP 6.x?
  • What is the preferred way to configure it?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.