I have more than 8GB ram in my machine, but not able to increase JVM heap size m

I have more than 8GB ram in my machine, but not able to increase JVM heap size more than 1024 MB in 64 bit OS. Always getting JVM memory allocation error if >1024 MB mentioned for sun jdk. Please suggest how to utilize the available RAM . ...

OriginalPostID-64338

OriginalPostID-64338

  Discussion posts and replies are publicly visible

Parents
  • Already looked at this, it does not helps.. here is the issue

    JAVA_OPTS: -XX:+TieredCompilation -Dprogram.name=standalone.bat -Xms2048m -Xmx4096m -XX:PermSize=256m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcIn
    terval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -XX:+UseConcMarkSweepGC -Dorg.apache.catalina.connector.URI_ENCODING=UTF-8 -Duser.timezone=GMT
    -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -verbosegc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -Xloggc:gc.txt -Dappian.home.ear=D:/App
    ian71/ear -Dorg.jboss.resolver.warning=true -Djboss.server.default.config=standalone.xml

    ===============================================================================

    Java HotSpot(TM) 64-Bit Server VM warning: CMSMarkStack backing store failure
    Java HotSpot(TM) 64-Bit Server VM warning: Failed to allocate CMS Revisit Stack
    Error occurred during initialization of VM
    Could not create CMS collector
    Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit.
Reply
  • Already looked at this, it does not helps.. here is the issue

    JAVA_OPTS: -XX:+TieredCompilation -Dprogram.name=standalone.bat -Xms2048m -Xmx4096m -XX:PermSize=256m -XX:MaxPermSize=256m -Dsun.rmi.dgc.client.gcIn
    terval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -XX:+UseConcMarkSweepGC -Dorg.apache.catalina.connector.URI_ENCODING=UTF-8 -Duser.timezone=GMT
    -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true -verbosegc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -Xloggc:gc.txt -Dappian.home.ear=D:/App
    ian71/ear -Dorg.jboss.resolver.warning=true -Djboss.server.default.config=standalone.xml

    ===============================================================================

    Java HotSpot(TM) 64-Bit Server VM warning: CMSMarkStack backing store failure
    Java HotSpot(TM) 64-Bit Server VM warning: Failed to allocate CMS Revisit Stack
    Error occurred during initialization of VM
    Could not create CMS collector
    Error: Could not create the Java Virtual Machine.
    Error: A fatal exception has occurred. Program will exit.
Children
No Data