aspose file tools*
The moose likes Performance and the fly likes Unable to start application with Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Performance
Bookmark "Unable to start application with "-XX:-CMSParallelRemarkEnabled" JVM parameter " Watch "Unable to start application with "-XX:-CMSParallelRemarkEnabled" JVM parameter " New topic
Author

Unable to start application with "-XX:-CMSParallelRemarkEnabled" JVM parameter

kkishore kkadiri
Greenhorn

Joined: Apr 19, 2013
Posts: 3

We are using CMS GC collector in application which is build on JDK1.6_26 version with the following set of JVM parameters:

[-J-server -J-d64 -Xms5g -Xmx5g -J-noclassgc -J-verbose:gc -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:NewSize=1536m -XX:MaxGCPauseMillis=2000 -XX:+CMSClassUnloadingEnabled -XX:+PrintTenuringDistribution -XX:CMSInitiatingOccupancyFraction=40 -Xloggc:log/details.pipe -XX:+PrintHeapAtGC -Dmail.smtp.auth=true -XX:NewRatio=3 -XX:CMSMaxAbortablePrecleanTime=15 -XX:+CMSScavengeBeforeRemark -XX:TargetSurvivorRatio=70 -XX:+UseCMSInitiatingOccupancyOnly -XX:MaxTenuringThreshold=8 -XX:ConcGCThreads=1 -XX:-CMSParallelRemarkEnabled]

However when we start application, following error message is thrown:

unknown argument '-CMSParallelRemarkEnabled'


The same flag is mentioned as a workaround in the following java bug:
http://bugs.sun.com/view_bug.do?bug_id=6558100

and the same flag is mentioned multiple times in the following articles
http://docs.oracle.com/cd/E19462-01/819-4673/gbpxz/index.html (section: JVM Tuning Parameters)

Please suggest on how to add this flag with out any error message?

Thanks a lot,
Kishore Kadiri
kkishore kkadiri
Greenhorn

Joined: Apr 19, 2013
Posts: 3

Did anyone experience similar issue? any inputs and suggestions for resolving this issue is much appreciated.
kkishore kkadiri
Greenhorn

Joined: Apr 19, 2013
Posts: 3
Same behavior is observed for “-XX:-CMSPermGenPrecleaningEnabled" JVM CMS gc option, any help on this is much appreciated.
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11314
    
  16

is it possible your jvm simply doesn't support these options?

I'm not sure where you are supposed to see this, but I do know that when you do "java -X" it says "The -X options are non-standard and subject to change without notice."

Perhaps this option was one of those and has gone away?


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to start application with "-XX:-CMSParallelRemarkEnabled" JVM parameter