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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content