File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error while starting JVM

 
SivaramaKrishnan Nageswaran
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Ulf Dittmer
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This page should be very helpful in sorting out this kind of problem.
[ September 16, 2005: Message edited by: Ulf Dittmer ]
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24204
34
Chrome Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Note, by the way, that the -Xhprof switches will all make your program run a lot slower. Collecting the profiling metrics takes lots of computation.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic