JVM size
stejas7 Sep 6, 2016 2:04 AMHello sebastian.laskawiec nadirx rvansa,
1) How to set jvm size of each node(host)?
2) How to set jvm size globally?
3) How to check infinispan jvm size from command prompt / ispn-cli.bat ?
4) How to set domain controller size 2gb and host controller size 4gb ? (I have one domain controller.it has two host in cluster mode.)
I am trying to set jvm size in domain.xml using below xml configuration
Domain.xml
<server-groups>
<server-group name=
"main-server-group"
profile=
"default"
>
<jvm name=
"default"
>
<heap size=
"2048m"
max-size=
"2048m"
/>
</jvm>
<socket-binding-group ref=
"clustered-sockets"
/>
</server-group>
<server-groups>
Host.xml
<jvms>
<jvm name="default">
<heap size="2048m" max-size="2048m"/>
<permgen size="2048m" max-size="2048m"/>
<jvm-options>
<option value="-server"/>
</jvm-options>
</jvm>
</jvms>
5) if we already gives jvm size in domain.xml. Why its need in host.xml ?
<servers>
<servers>
<server name="server-one" group="cluster">
<jvm name="default"/>
</server>
</servers>
Infinispan server domain.bat startup its show me 64m in JAVA_OPTS.
===============================================================================
JBoss Bootstrap Environment
JBOSS_HOME: "G:\HighQ-JBoss\infinispan-server-8.2.3.Final"
JAVA: "C:\Program Files\Java\jdk1.8.0_71\bin\java"
JAVA_OPTS: "-Xms64M -Xmx512M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -server"
===============================================================================
6) i was change a jvm size 2048m in domain.xml but still its run with 64m? why java_opts show me size 64m ? is server-one running with 2048m ?
Thanks,
Tejas Shah
-
domain.xml.zip 3.7 KB
-
host.xml.zip 1.2 KB