CF ORM Memory Leak - Exception in OnApplicationStart leaks org.hibernate.impl.SessionFactory.Impl objects

32 views
Skip to first unread message

Dave

unread,
Jul 8, 2012, 5:12:37 PM7/8/12
to cfau...@googlegroups.com
Hey All,

There is no doco about this memory leak around, so I thought I'd let everyone know incase you come across it.

If you have an exception thrown in the onApplicationStart event of your Application.cfc, every time that application attempts to start, you will leak 1 instance of org.hibernate.impl.SessionFactory.Impl

This could get nasty if you have a regular scheduled task running on a multi-application server.

Bug info here if you want to vote for it:


dave

Reply all
Reply to author
Forward
0 new messages