• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Error while starting JVM

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

When I try to start a java application with the following JVM options:

-Xms64m
-Xmx1024m
-Xrunhprof:cpu=times
-XX:+UseParNewGC
-XX:+CMSParallelRemarkEnabled
-XX arallelGCThreads=2
-XX:NewRatio=8
-XX:+UseConcMarkSweepGC
-XX:CMSInitiatingOccupancyFraction=80
-Xloggc:siva.log
-XX:+PrintGCDetails
-XX:-UseMPSS

the JVM doesn't get started. And when I removed either "-Xrunhprof:cpu=times" or "-XX:+UseConcMarkSweepGC" options, the JVM started without any error.

Is there any dependency between the above mentioned 2 options and I also found that an error message as mentioned below is displayed when both the options are provided:

****************************************************************************
Conflicting collector combinations in option list; please refer to the release notes for the combinations allowed
Unable to create JVM.
****************************************************************************

It would be of great help, if anybody could help me out in this regard.

Note:
1. I wanted the option "-XX:+UseConcMarkSweepGC" to be present while starting the JVM and I would also like to analyse the CPU usage.
2. I also found that after removing "-XX:+UseConcMarkSweepGC" option, the java application became very slower.

Thanks
- Siva
 
High Plains Drifter
Posts: 7289
Netbeans IDE VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Have you checked the release notes for an explanation of the conflict? The message you're receiving seems quite clear: you can't run all the options you wanted at one time.

My guess is the options you want create a scoping conflict with the JVM observability features you've chosen.
 
Roses are red, violets are blue. Some poems rhyme and some don't. And some poems are a tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic