This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
The moose likes Java in General and the fly likes Error while starting JVM Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Error while starting JVM" Watch "Error while starting JVM" New topic

Error while starting JVM

SivaramaKrishnan Nageswaran

Joined: Aug 05, 2005
Posts: 7

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

-XX arallelGCThreads=2

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.

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.

- Siva
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
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

Joined: Jul 08, 2003
Posts: 24195

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.

[Jess in Action][AskingGoodQuestions]
I agree. Here's the link:
subject: Error while starting JVM
It's not a secret anymore!