You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2016/01/07 01:26:49 UTC

[Bug 58814] New: JVM don't recognize option MaxLiveObjectEvacuationRatio

https://bz.apache.org/bugzilla/show_bug.cgi?id=58814

            Bug ID: 58814
           Summary: JVM don't recognize option
                    MaxLiveObjectEvacuationRatio
           Product: JMeter
           Version: 2.0.1
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Main
          Assignee: issues@jmeter.apache.org
          Reporter: kapsh@kap.sh

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"

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58814] JVM don't recognize option MaxLiveObjectEvacuationRatio

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58814

--- Comment #3 from Sebb <se...@apache.org> ---
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58814] JVM don't recognize option MaxLiveObjectEvacuationRatio

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58814

--- Comment #5 from kapsh <ka...@kap.sh> ---
(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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58814] JVM don't recognize option MaxLiveObjectEvacuationRatio

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58814

Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Sebb <se...@apache.org> ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58814] JVM don't recognize option MaxLiveObjectEvacuationRatio

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58814

Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #2 from Sebb <se...@apache.org> ---
(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.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 58814] JVM don't recognize option MaxLiveObjectEvacuationRatio

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=58814

Philippe Mouawad <p....@ubik-ingenierie.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.mouawad@ubik-ingenierie.c
                   |                            |om
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Bugzilla is not a support forum.
Besides this question has no relation with JMeter.
Most probably your Java version does not havee these options.

-- 
You are receiving this mail because:
You are the assignee for the bug.