GC issues

51 views
Skip to first unread message

Raymond Camden

unread,
Mar 2, 2010, 10:43:40 AM3/2/10
to cf-or...@googlegroups.com
I've noticed that - sometimes - I'll make an ORM change that ends up
causing GC issues in ColdFusion. Specifically:

"Error","jrpp-9","03/02/10","09:25:53","firstquote9","GC overhead
limit exceeded The specific sequence of files included or processed
is: C:\projects\aaa\bbb\www\index.cfm'' "
java.lang.OutOfMemoryError: GC overhead limit exceeded

I'll get this again and again until eventually I discovered it is
something as trivial as a bad column name.

Has anyone else seen this? I can't imagine why such a simple bug would
cause CF to throw errors like that.

--
===========================================================================
Raymond Camden, ColdFusion Jedi Master

Email : r...@camdenfamily.com
Blog : www.coldfusionjedi.com
AOL IM : cfjedimaster

Keep up to date with the community: http://www.coldfusionbloggers.org

Sumit Verma

unread,
Mar 2, 2010, 10:49:05 AM3/2/10
to cf-or...@googlegroups.com
I get request timeouts many times with ORM errors. It's really frustrating because when that happens you can't see the *real* error.



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


Raymond Camden

unread,
Mar 2, 2010, 11:19:43 AM3/2/10
to cf-or...@googlegroups.com
Ok, I've done some more digging. It appears I'm getting this when
Model-Glue does a dump on the exception. I added top=2 and noticed
something odd.

My exception root object contains things I've not seen before, including:

cause.nextexception, and nextexception contains a nextexception, and
then it stops, because it hit top.

throwables - what is that? I see 2 errors that are unique (and only 2
since I had top=2), and they also contain nextexception structs.

Does the ORM Exception somehow contain an infinite loop that screws up the dump?


On Tue, Mar 2, 2010 at 9:49 AM, Sumit Verma <su...@blogonria.com> wrote:
> I get request timeouts many times with ORM errors. It's really frustrating
> because when that happens you can't see the *real* error.
>
> On Tue, Mar 2, 2010 at 10:43 AM, Raymond Camden <rca...@gmail.com> wrote:
>>
>> I've noticed that - sometimes - I'll make an ORM change that ends up
>> causing GC issues in ColdFusion. Specifically:
>>

>> "Error","jrpp-9","03/02/10","09:25:53","firstquote9","GC overheadO

Sumit Verma

unread,
Mar 2, 2010, 11:34:46 AM3/2/10
to cf-or...@googlegroups.com
I'm using MachII and see the same thing. My guess was infinite loop in dump too, but never got around to debugging it (because my apps don't throw error :) #yaright

Barney Boisvert

unread,
Mar 2, 2010, 12:45:17 PM3/2/10
to cf-or...@googlegroups.com
This is actually a Hibernate weirdness, I believe, as we fought a very
similar issue (recursive exception data structures) with CFGroovy a
couple years back. I'm not sure exactly what the deal is, but we
fixed it by stripping the offending keys out of the exception struct
before letting the error handler deal with it. Hardly elegant, but we
couldn't find another solution that worked consistently. So 'top'
will work if you're using CFDUMP, and if not, you just have to be
careful.

cheers,
barneyb

--
Barney Boisvert
bboi...@gmail.com
http://www.barneyb.com/

Raymond Camden

unread,
Mar 2, 2010, 12:49:53 PM3/2/10
to cf-or...@googlegroups.com
Stripping the keys is good idea. I think I may also test to see if
hide="nextexception" would deal with it as well. Or perhaps
hide="nextexception,throwables"
Reply all
Reply to author
Forward
0 new messages