0

Hi I can not find a document?

Our vm options is like this .

-D[Server:jbossvat1_server01]
-XX:PermSize=256m
-XX:MaxPermSize=256m
-Xms3072m
-Xmx3072m
-XX:+UseG1GC
-Djboss.modules.policy-permissions=true
-Djava.awt.headless=true
-Dorg.apache.catalina.connector.URI_ENCODING=UTF-8
-Djboss.modules.system.pkgs=org.jboss.byteman
-Djboss.home.dir=/u01/jboss/jboss-eap-6.3
-Djava.net.preferIPv4Stack=true
-Dfile.encoding=UTF-8
-Djboss.server.log.dir=/u01/jboss/jboss-eap-6.3/domain/servers/jboss1_server01/log
-Djboss.server.temp.dir=/u01/jboss/jboss-eap-6.3/domain/servers/jboss1_server01/tmp
-Djboss.server.data.dir=/u01/jboss/jboss-eap-6.3/domain/servers/jboss1_server01/data
-Dlogging.configuration=file:/u01/jboss/jboss-eap-6.3/domain/servers/jboss1_server01/data/logging.properties

enter image description here

My original problem is memory allocation from OS side is a way larger than xmx side. It goes 5.1 gb in one jboss instance after 9 hours of load.

Just see the Max value on jvisualvm and wonder what it is? And It is almost doubled of my max heap value? Why is this?

Could you please help me?

What does Max stands for?

cgon
  • 1,955
  • 2
  • 23
  • 37
  • How are the VM options passed to JBoss? Is this a managed domain or a standalone server? As for the documentation of `MaxPermSize`, it is [here](http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html). – RealSkeptic Nov 28 '14 at 13:44

1 Answers1

0

Max means -Xmx value that I set + -XX:+UseG1GC garbace collector puts an overhead to maximum heap size.

So please be careful using G1 garbage collector. It can give you headache.

cgon
  • 1,955
  • 2
  • 23
  • 37