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 12.2.1.0.0 and laterMicrosoft Windows x64 (64-bit) - Version: 2008 R2
Goal
Why is the Maximum Heap shown in Visual VM different from the Maximum Heap shows in JConsole?
Details:
Weblogic Server 12.2.1.0.0 and Java 8, and set the below Java Memory Arguments :
USER_MEM_ARGS=-Xms256m -Xmx1024m %MEM_DEV_ARGS% %MEM_MAX_PERM_SIZE%
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
Solution
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
Goal |
Solution |
References |