Hi ,

I guess for a substantial analysis of the problem you'd have to provide more 
(detailed) info, u.e. actual memory figures, how your JVM is setup, what your 
system/OS/JRun/CF config, error messages etc etc etc etc. Important would also 
be what the CFC is doing - calling GC manually is a bad solution - but you have 
figured that out yourself as it appears :-)

Just as a side note: I'm pretty sure JRocket is not a supported JVM (it will 
work in most parts but might give you random behaviour and/or non-working 
features depending on the CF and JVM version).

I assume you've done JVM and GC profiling and logging over a few days and have 
GC logs available as you're mentioning memory dumps. There are a variety of 
different types of out of memory errors that could stem from different parts of 
the JVM. Also have a look into the group archive, we had a bunch of discussions 
in the last few months in which people have posted links to tools, blog posts, 
general thoughts and approaches that might help you.

Cheers
Kai


> Hi All,
> 
> Trying to get some input on a memory management problem we're having
> on our server.
> 
> Been getting strange out of memory errors, under minor server load -
> about 10-30 requests per second. What we saw via fusion reactor
> monitoring was the memory slowly increasing over a period of about 5
> -10 minutes under load until the JVM ran out of memory.
> 
> I've isolated a particular cfc which will cause the out of memory
> behaviour under load testing, and I've temporarily patched it by
> calling the java runtime and manually garbage collecting when this cfc
> is called. (Not sure if this is the only problem, but its the best
> replication of the problem I have).
> 
> I've also moved the JVM across to Jrocket from Oracle and tried a few
> tweaks to the JVM memory management settings to settle the process
> down. This had made a significant problem, and my best guess right now
> is that its something to do with the memory management for the various
> generations.
> 
> I've been digging through memory dumps to find the problem, but I
> can't find anything suspect in relation to coldfusion classes.
> 
> I've digging around blogs/forms/adobe documentation and I haven't been
> able to find too much info on similar problems.
> 
> The most useful post I've found has been this,
> http://www.schierberl.com/cfblog/index.cfm/2006/10/12/ColdFusion_memoryLeak_profiler
> but the suggestions made do not seem to be the cause of the problem.
> 
> I'm wondering if anyone else has had similar problems, and can point
> me in the right direction with regards to some possible longer term
> solutions.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "cfaussie" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/cfaussie?hl=en.
> 


--
Kai Koenig - Ventego Creative Ltd
ph: +64 4 476 6781 - mob: +64 21 928 365 /  +61 450 132 117
web: http://www.ventego-creative.co.nz
blog: http://www.bloginblack.de
twitter: http://www.twitter.com/agentK

Hands-on Regular Expression training @ webDU 2010
http://bloginblack.de/agentk/workshop-befriending-regular-expressions/

Hands-on Flash Catalyst and Flex 4 training @ Webinale 2010 
http://bloginblack.de/agentk/workshop-rias-with-flash-catalyst-and-flex-4/
--







-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.

Reply via email to