My Oracle Support Banner

Why Is There a Difference in WebLogic MaxMemory VisualVm versus JConsole (Doc ID 2337748.1)

Last updated on JANUARY 15, 2024

Applies to:

Oracle WebLogic Server - Version and later
Microsoft Windows x64 (64-bit) - Version: 2008 R2


Why is the Maximum Heap shown in Visual VM different from the Maximum Heap shows in JConsole?  


Weblogic Server and Java 8, and set the below Java Memory Arguments :

VisualVM is showing 2,147,483,680B as Maximum Heap Size when Maximum heap size is set to 1 MB

Visual VM is showing this Maximum as 2,147,483,680 B/1024 = 2,097,152.03125 KB /1024=2048 MB
JConsole is showing this Maximum as 1,048,576 KB /1024 = 1024 MB


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.