Skip to content

"max heap size" JVM parameter is not being reflected #287

@pranjalsrivastava-crypto

Description

"max heap size" JVM parameter set up in any java application(either through -Xmx500m or -XX:MaxHeapSize), is not being reflected in visualVM tool ( After attaching the process PID) under section Monitor - Memory-> heap >Max

Observation:
if keeping the -XX:MaxHeapSize=600m, launched the java application and attached the PID of application in VisualVM tool then under section Monitor - Memory-> heap >Max size is not showing as mentioned/provided value and it shows twice of the value i.e.Max: 1,258,291,232 B.

On the similar note, jconsole and -XX:+PrintFlagsFinal shows correct value. Please have a look and
toupload

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions