My Oracle Support Banner

Why JConsole and JMap Reports Different Max Heap Size (Doc ID 2522936.1)

Last updated on NOVEMBER 15, 2020

Applies to:

Java SE JDK and JRE - Version 7 and later
Information in this document applies to any platform.


A WebLogic Server instance is launched with "-Xms3712m -Xmx3712m" for the max heap size.
The JConsole output reports "Maximum heap size" reports 3597mb" while JMap command reports MaxHeapSize = 3892314112 (3712.0MB).
Why do JConsole and JMap report the max heap size differently?


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.