Re: Out of memory
Re: Out of memory
- Subject: Re: Out of memory
- From: Mike Schrag <email@hidden>
- Date: Fri, 30 Nov 2007 07:00:07 -0500
Just to clarify: if we use an ERXEC for a temporary job and no
longer need the EC afterwards we should explicitly dispose() it to
mark it for the GC ? Otherwise it will stick around forever ?
No, it's attached to a thread local which gets cleaned up at the end
of the RR loop (or when your thread dies). This is only really an
issue in an example like Miguel's where he's recycling EC's because
he's doing lots of EO creation. In that case, it's probably a good
idea to manually dispose regardless.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden