0 Replies Latest reply on Feb 27, 2017 9:32 PM by 3067681

    JVM Memory Issue and application pausing

    3067681

      I am fairly new to the Java settings for our application and have done different settings. We moved our application to a VM environment and since then we have had different levels of issues. Some we can tolerate but others just simply render the program useless.

       

      The program is a custom application which we have had for about 10 years and memory was never an issue until certain updates where put in and we moved to the VM environment. This program has quite a bit of people using it as well.

       

      Here are my settings:

       

      -Xms1536m

      -Xmx1536m

      -XX:MaxMetaspaceSize=512m

      -XX:+CMSClassUnloadingEnabled

      -XX:+UseConcMarkSweepGC

      -XX:+CMSParallelRemarkEnabled

      -XX:+UseCMSInitiatingOccupancyOnly

      -XX:CMSInitiatingOccupancyFraction=60

      -XX:+DisableExplicitGC

      -XX:+ScavengeBeforeFullGC

      -XX:+CMSScavengeBeforeRemark

      -XX:+UseFastAccessorMethods

      -XX:+PrintGCDateStamps

      -verbose:gc

      -XX:+PrintGCDetails

      -Xloggc:<PATH>\garbage.log

      -XX:+UseGCLogFileRotation

      -XX:NumberOfGCLogFiles=10

      -XX:GCLogFileSize=100M

       

      Old Gen is nearly maxed now and it will not reset. Application slows down and pauses more and more.

       

      Log file attached. It is quite large as well.

       

      Thank you and I appreciate any help with this.