One again my memory usage was steady at 20%, something happened and now its
up and down from 15% to 90% and back down within minutes. Here is a screen
shot of the memory graph in seeFusion. GC seems to be doing its job, but
this does not seem normal or does it!?
http://screencast.com/t/6SkU3bF9Gsx
So I did a heapdump and analyzed it in MAT for eclipse:
When I took the dump memory on the server was reported at 90% by seefusion.
The JVM has 1 gig allocated to it. The dump doesn't show near that much
memory in use, so maybe a GC ran right before I took the dump, I'm not sure.
Does anyone see anything that stands out in these reports? Should there be
that many jdbc.base.preparedStatement items?
http://screencast.com/t/Th4ZiLZw
http://screencast.com/t/IdGqa6Uh
On another note, its pretty cool that you can see whats stored in the
application scope and its memory usage. This screenshot shows the
structs/arrays/strings that are application scoped:
http://screencast.com/t/XZyRofWTJNN
Brook
-Original Message-
From: Mack [mailto:mrsmith.w...@gmail.com]
Sent: December-06-10 4:07 AM
To: cf-talk
Subject: Re: Memory Usage Question
I wish I could see WHAT was taking up the ram, i.e a specific array, cfc
instances, etc etc
It can be done but it's not easy. Basically you need to do a heap dump
of the CF process (you can do that without shutting down the server)
and then analyze the heap dump using MAT for Eclipse. MAT can tell you
what are the objects on the heap, etc.
--
Mack
~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339908
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm