Bug 54638 - /manager/status?XML=true
Product: Tomcat 7
Classification: Unclassified
Component: Manager
PC Windows XP
: P2 minor (vote)
: ---
Assigned To: Tomcat Developers Mailing List
Depends on:
  Show dependency tree
Reported: 2013-03-05 12:29 UTC by luca andreoli
Modified: 2013-03-06 07:46 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description luca andreoli 2013-03-05 12:29:57 UTC
Hi all,
in /manager/status?XML=true, informations about memory pools are incorrect.
for every row all the values (initial,committed,maximum,used) are the same:

Memory Pools
Name:Eden Space	Type:Heap memory	Initial:143130624	Committed:143130624	Maximum:143130624	Used:143130624
Name:Survivor Space	Type:Heap memory	Initial:17891328	Committed:17891328	Maximum:17891328	Used:17891328
Name:Tenured Gen	Type:Heap memory	Initial:357957632	Committed:357957632	Maximum:357957632	Used:357957632
Name:Code Cache	Type:Non-heap memory	Initial:163840	Committed:8421376	Maximum:33554432	Used:163840
Name:Perm Gen	Type:Non-heap memory	Initial:12582912	Committed:23330816	Maximum:67108864	Used:12582912
Name:Perm Gen [shared-ro]	Type:Non-heap memory	Initial:10485760	Committed:10485760	Maximum:10485760	Used:10485760
Name:Perm Gen [shared-rw]	Type:Non-heap memory	Initial:12582912	Committed:12582912	Maximum:12582912	Used:12582912

Instead in the gui page values are correct.
Comment 1 Konstantin Kolinko 2013-03-06 00:54:23 UTC
Thank you for the report. Fixed in 7.0 by r1453106 and will be in 7.0.38.

The "Used" column displayed wrong value ('initial' instead of 'used').
See e.g. "Code Cache" line in your example.

The values for "Eden Space" etc. in your example are valid ones. It is valid to have Initial = Maximum = currently allocated size (Committed).
Comment 2 luca andreoli 2013-03-06 07:46:32 UTC
Thank you Konstantin!!!