Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

sun java web server - using a lot of memory

807567Jun 11 2008 — edited Jun 12 2008
sjws 6.1sp7 - solaris 10u4

we have a web server instance that uses over 3gb of ram. it servers mostly jsps. i understand why permanent heap is so large (jsp classes) any one have an idea of what else could be going on here?

17921 webservd 3271M 2976M cpu1 0 10 9:05:55 31% webservd/80

pmap shows (cut down for length):

00010000 8K r-x-- /opt/jws61/bin/https/bin/webservd
00020000 8K rwx-- /opt/jws61/bin/https/bin/webservd
00022000 1171168K rwx-- [ heap ]

< snip, and a bunch of the following >

74000000 5440K r--s- dev:314,2 ino:6823381
74560000 120K r--s- dev:314,2 ino:6823394
74590000 408K r--s- dev:314,2 ino:6823341
74600000 464K r--s- dev:314,2 ino:6823383
74680000 2192K r--s- dev:314,2 ino:6823304
748B0000 72K r--s- dev:314,2 ino:6823307
748D0000 144K r--s- dev:314,2 ino:6823286
74900000 1264K r--s- dev:314,2 ino:6823418
74A50000 160K r--s- dev:314,2 ino:6823345
74A80000 552K r--s- dev:314,2 ino:6823276
74B10000 8K r--s- dev:314,2 ino:6823327
74B20000 352K r--s- dev:314,2 ino:6823280
74B80000 832K r--s- dev:314,2 ino:6823319
74C60000 104K r--s- dev:314,2 ino:6823324
74C80000 504K r--s- dev:314,2 ino:6823337
74D10000 352K r--s- dev:314,2 ino:6823283
74D70000 32K r--s- dev:314,2 ino:6823406
74D80000 664K r--s- dev:314,2 ino:6823271
74E30000 16K r--s- dev:314,2 ino:6823314
74E40000 40K r--s- dev:314,2 ino:6823349
74E50000 32K r--s- dev:314,2 ino:6823404
74E60000 104K r--s- dev:314,2 ino:6823278
74E80000 584K r--s- dev:314,2 ino:6823347
74F20000 312K r--s- dev:314,2 ino:6823248
74F80000 1808K r--s- dev:85,40 ino:3471
75150000 80K r--s- dev:314,2 ino:6823373

< snip, and then what appears to be taking up most of the memory >

96800000 20480K rwx-- [ anon ]
97C00000 20480K rwx-- [ anon ]
99000000 20480K rwx-- [ anon ]
9A400000 28672K rwx-- [ anon ]
9C000000 4096K rwx-- [ anon ]
9C400000 4096K rwx-- [ anon ]
9C800000 4096K rwx-- [ anon ]
9CC00000 28672K rwx-- [ anon ]
9E800000 8192K rwx-- [ anon ]
9F000000 8192K rwx-- [ anon ]
9F800000 24576K rwx-- [ anon ]
A1000000 4096K rwx-- [ anon ]
A1400000 4096K rwx-- [ anon ]
A1800000 12288K rwx-- [ anon ]
A2400000 40960K rwx-- [ anon ]
A4C00000 8192K rwx-- [ anon ]
A5400000 16384K rwx-- [ anon ]
A6400000 24576K rwx-- [ anon ]
A7C00000 40960K rwx-- [ anon ]
AA400000 20480K rwx-- [ anon ]
AB800000 12288K rwx-- [ anon ]
AC400000 20480K rwx-- [ anon ]
AD800000 4096K rwx-- [ anon ]
ADC00000 36864K rwx-- [ anon ]
B0000000 4096K rwx-- [ anon ]
B0400000 16384K rwx-- [ anon ]
B1400000 4096K rwx-- [ anon ]
B1800000 8192K rwx-- [ anon ]
B2000000 45056K rwx-- [ anon ]
B4C00000 12288K rwx-- [ anon ]
B5800000 4096K rwx-- [ anon ]
B5C00000 12288K rwx-- [ anon ]
B6800000 16384K rwx-- [ anon ]
B7800000 4096K rwx-- [ anon ]
B7C00000 4096K rwx-- [ anon ]
B8000000 4096K rwx-- [ anon ]
B8400000 4096K rwx-- [ anon ]
B8800000 4096K rwx-- [ anon ]
B8C00000 4096K rwx-- [ anon ]




#/usr/jdk/j2sdk1.4.2_16/bin/jmap -heap 17921
Attaching to process ID 17921, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 1.4.2_13-b06

using thread-local object allocation.
Mark Sweep Compact GC

Heap Configuration:
MinHeapFreeRatio = 40
MaxHeapFreeRatio = 70
MaxHeapSize = 67108864 (64.0MB)
NewSize = 2228224 (2.125MB)
MaxNewSize = 4294901760 (4095.9375MB)
OldSize = 1441792 (1.375MB)
NewRatio = 2
SurvivorRatio = 32
PermSize = 16777216 (16.0MB)
MaxPermSize = 1073741824 (1024.0MB)

Heap Usage:
New Generation (Eden + 1 Survivor Space):
capacity = 347406336 (331.3125MB)
used = 163723696 (156.1390838623047MB)
free = 183682640 (175.1734161376953MB)
47.1274352348024% used
Eden Space:
capacity = 336920576 (321.3125MB)
used = 163723696 (156.1390838623047MB)
free = 173196880 (165.1734161376953MB)
48.59415175640683% used
From Space:
capacity = 10485760 (10.0MB)
used = 0 (0.0MB)
free = 10485760 (10.0MB)
0.0% used
To Space:
capacity = 10485760 (10.0MB)
used = 0 (0.0MB)
free = 10485760 (10.0MB)
0.0% used
tenured generation:
capacity = 715849728 (682.6875MB)
used = 645847144 (615.9278335571289MB)
free = 70002584 (66.7596664428711MB)
90.22105041576548% used
Perm Generation:
capacity = 895221760 (853.75MB)
used = 894921568 (853.4637145996094MB)
free = 300192 (0.286285400390625MB)
99.96646730302892% used
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 10 2008
Added on Jun 11 2008
2 comments
235 views