Oracle hotspot vm ver 1.8.0_66 raises an error when I am trying launch jmeter: Unrecognized VM option 'MaxLiveObjectEvacuationRatio=20' Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. So I can't run gui until I commented out this option in startup script or used IcedTea which just shows a warning: OpenJDK 64-Bit Server VM warning: ignoring option MaxLiveObjectEvacuationRatio=20; support was removed in 6.0_24 Problem on my system was in file /opt/jmeter/bin/jmeter on line: EVACUATION="-XX:MaxLiveObjectEvacuationRatio=20"
Bugzilla is not a support forum. Besides this question has no relation with JMeter. Most probably your Java version does not havee these options.
(In reply to Philippe Mouawad from comment #1) > Besides this question has no relation with JMeter. The file in question is part of JMeter. > Most probably your Java version does not havee these options. That is true; the problem is that Java 8 fails to start rather than warning that it cannot process the option. For the command-line: $ java -XX:MaxLiveObjectEvacuationRatio=20 -version Java 7 gives: Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxLiveObjectEvacuationRatio=20; support was removed in 6.0_24 java version "1.7.0_79" Java 8 gives: Unrecognized VM option 'MaxLiveObjectEvacuationRatio=20' Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. I think this is unfortunate behaviour of the JVM (possibly a bug), but since JMeter requires at least Java 7, the option should be removed from any scripts.
Further investigation shows that the setting was commented out since at least v 2.5.1. However the option is now completely redundant and should be removed to avoid confusion. Note: if you really are using version 2.0.1, you really should upgrade as that is ancient.
URL: http://svn.apache.org/viewvc?rev=1723538&view=rev Log: JVM don't recognize option MaxLiveObjectEvacuationRatio; remove from comments Bugzilla Id: 58814 Modified: jmeter/trunk/bin/jmeter jmeter/trunk/bin/jmeter.bat jmeter/trunk/xdocs/changes.xml
(In reply to Sebb from comment #3) > Further investigation shows that the setting was commented out since at > least v 2.5.1. > > However the option is now completely redundant and should be removed to > avoid confusion. > > Note: if you really are using version 2.0.1, you really should upgrade as > that is ancient. Okay, thanks. It seems like my distro has not newer version yet so I was misleaded.
This issue has been migrated to GitHub: https://github.com/apache/jmeter/issues/3763