Yes this is normal. Our busy SPARC server has a 2.5 GB JVM and frees
over 600MB when it does a GC. It does this at roughly 30 second
intervals or so, like your figures show.

On 6/6/07, Terry Ford <[EMAIL PROTECTED]> wrote:
> I've never actually paid much attention to CFMX's memory usage before, but I 
> just started monitoring our memory, and I'm a little unsure whether what 
> we're seeing is normal or not.
>
> Setup: CFMX6.1, linux ES4, 800MB Xmx.  Server averages 30 templates/second.
> Cached queries set to 0 (same thing happens for different values of cached 
> queries anyway).  I'm noticing the same behavior on CF8 pub beta.
>
> Monitoring java.lang.Runtime.getRunTime()'s freeMemory()
>
> Here's a sample of our "free memory" output at 5 second intervals:
> 493mb
> 356mb
> 66mb
> 66mb
> 59mb
> 350mb
> 57mb
>
> Over the course of a minute, the free memory value is flying all over the 
> place.  It dives down to 50mb or so, and then I assume the GC cleans up and 
> it's back up in the 350+s.  Then it drops rapidly back to 50mb, and flies 
> back up again.
>
> The app is not doing anything that I'd consider memory intensive.  Lots of DB 
> queries, but none are that large memory wise.  100 rows here, 2 rows there, 
> but done many times each minute.
>
> There is no notable strain on the server (pages load fast, server load avg is 
> low), but I'm wondering if this is symptomatic of a memory problem/leak 
> somewhere, or if it's completely normal for a loaded server to be allocating 
> and freeing memory at such a frantic pace.


-- 
mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion MX7 and Flex 2 
Build sales & marketing dashboard RIA’s for your business. Upgrade now
http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280198
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to