0 Replies Latest reply on Jan 30, 2018 4:04 AM by Rajadorai E

    High RAM Utilization by Java Process in Wildfly 8.2 leading to process getting suspended by Windows 2012 Server.

    Rajadorai E Newbie

      Hi,

       

      We are using Wildfly 8.2 with JDK 1.8 on Windows 2012 Server.

       

      We are seeing high RAM utilization by the Java Process as a result of this the OS suspends the process to make room for other process.

       

      The heap looks very normal...it is only with Java Process memory the issue is.

       

      Below are JVM options we have used.

       

      -Dprogram.name=standalone.bat

      -XX:-TieredCompilation

      -Xms1024M

      -Xmx1024M

      -XX:PermSize=512M

      -XX:MaxPermSize=512M

      -Dsun.rmi.dgc.client.gcInterval=3600000

      -Dsun.rmi.dgc.server.gcInterval=3600000

      -Dorg.jboss.resolver.warning=true

      -Djboss.modules.system.pkgs=org.jboss.byteman

      -XX:+HeapDumpOnOutOfMemoryError

      -Dfile.encoding=UTF-8

      -Dorg.apache.tomcat.util.http.ServerCookie.ALLOW_HTTP_SEPARATORS_IN_V0=true

      -Xms2048M

      -Xmx2048M

      -XX:ReservedCodeCacheSize=256M

      -Dsun.rmi.dgc.client.gcInterval=3600000

      -Dsun.rmi.dgc.server.gcInterval=3600000

      -Dorg.jboss.resolver.warning=true

      -Djboss.modules.system.pkgs=org.jboss.byteman

      -XX:+HeapDumpOnOutOfMemoryError

      -XX:-UseAESIntrinsics

      -Dfile.encoding=UTF-8

      -Dorg.apache.tomcat.util.http.ServerCookie.ALLOW_HTTP_SEPARATORS_IN_V0=true

       

      Did not yet try with MetaSpace JVM options.

       

      Below are some of the blogs in the forum reffered to with no exact solution..

       

      Memory usage with wildfly

      Virtual file system (VFS) native memory leak in JBoss EAP 5 - Red Hat Customer Portal

      OutOfMemory (Stack Heap) Exception while running Wildfly 8.1.0 Final

      http://www.evanjones.ca/java-bytebuffer-leak.html

       

       

      Is there any defect with wildfly 8.2 ? Have anyone found the root cause of it ? It would be of great help..if you share your findings.

       

      Regards,

      E.Rajadorai