How can I limit the memory usage JBoss EAP services?

Solution Verified - Updated -

Issue

  • How can I limit the memory usage JBoss EAP services?
  • RSS of java process in JBoss EAP keeps rising due to unknown reasons. Is it possible to limit the memory usage of JBoss EAP to avoid affecting other process in the same machine?
  • JBoss Systemd Unit file is automatically generated by systemd-sysv-generator, but is it possible to add Systemd settings to JBoss services?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7
  • Red Hat Enterprise Linux (RHEL)
  • Systemd

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