Adobe has verified this is a bug in CF9.01.  Here is the bug report.
Please vote up: https://bugbase.adobe.com/index.cfm?event=bug&id=3119991

The problem also exists in CF10 beta.


On Feb 22, 2:38 pm, Dave <davidame...@gmail.com> wrote:
> Hey all,
>
> I believe I had discovered/confirmed a memory leak in CF 9.01.
>
> We have a large application that ran for months at a time on CF 8.01,
> on CF9, we leak a few hundred MB each day. The application makes lots
> of use of structs/classes. Using MAT, we can see that a
> coldfusion.util.key is created of each and every struct member, but
> never cleaned up.
>
> Try the following test on a fresh re-started JVM:
>
> <cfset transient = structNew() />
> <cfloop from="1" to="1000000" index="index">
>         <cfset transient[index] = true>
> </cfloop>
>
> Use VisualVM to force a GC, do a heap dump, then open the heap up and
> search for coldfusion.util.key - you will see 1,000,000 + of them.
> They will never be collected.
>
> The same code does not have this problem on CF8.
>
> Original CF bug:http://www.elliottsprehn.com/cfbugs/bugs/86893 (now
> removed???)
> New CF bug:https://bugbase.adobe.com/index.cfm?event=bug&id=3119991
>
> Is anyone else seeing this problem or needing to re-start their CF9.01
> servers regularly to keep them running?

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

Reply via email to