DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35694>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35694

           Summary: Unrecognized VM option 'TargetSurvivorRatio=50%'
           Product: JMeter
           Version: 2.0.3
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I receive the error message "Unrecognized VM option 'TargetSurvivorRatio=50%'"
when I try to run a fresh JMeter 2.0.3 installation using JDK 1.5.0 on Linux.
See below for the details:

  $ tar zxf jakarta-jmeter-2.0.3.tgz
  $ cd jakarta-jmeter-2.0.3
  $ bin/jmeter
  Unrecognized VM option 'TargetSurvivorRatio=50%'
  Could not create the Java virtual machine.
  $ java -version
  java version "1.5.0"
  Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
  Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode)

I was able to fix the problem by making the following changes:

diff -u -r jakarta-jmeter-2.0.3.orig/bin/jmeter jakarta-jmeter-2.0.3/bin/jmeter
--- jakarta-jmeter-2.0.3.orig/bin/jmeter        2004-02-16 15:34:10.000000000 
+0200
+++ jakarta-jmeter-2.0.3/bin/jmeter     2005-07-11 23:02:13.000000000 +0300
@@ -43,7 +43,8 @@

 # This ratio and target have been proven OK in tests with a specially high
 # amount of per-sample objects (the HtmlParserHTMLParser tests):
-SURVIVOR="-XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=50%"
+SURVIVOR="-XX:SurvivorRatio=8"
+#SURVIVOR="-XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=50%"

 # Think about it: trying to keep per-run objects in tenuring definitely
 # represents a cost, but where's the benefit? They won't disappear before
@@ -61,7 +62,8 @@
 # memory in a short period of time, such as loading tests or listener data 
files.
 # Increase it if you experience OutOfMemory problems during those operations
 # without having gone through a lot of Full GC-ing just before the OOM:
-EVACUATION="-XX:MaxLiveObjectEvacuationRatio=20%"
+EVACUATION=""
+#EVACUATION="-XX:MaxLiveObjectEvacuationRatio=20%"

 # Avoid the RMI-induced Full GCs to run too frequently -- once every ten 
minutes
 # should be more than enough:

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to