[typo] [FATAL] failed to allocate memory
scott at sigkill.org
Tue Aug 15 15:20:01 EDT 2006
On 8/15/06, Piers Cawley <pdcawley at bofh.org.uk> wrote:
> "Steve Longdo" <steve.longdo at gmail.com> writes:
> > On TextDrive the profiling code has enough overhead it kills the thread
> > sometimes. I have noticed that the number of Blog objects seems to stack up
> > over time though. I've seen as many 22 instantiated at the same time.
> > Considering that I only have one Blog that seems kind of high.
> Every so often I think "I really should rewrite ActiveRecord so that
> there's only one instance of given object in memory at any one time."
> And then I remember what a pain in the arse it can be to sort that
If you look at our SQL traces, you'll see that we can create a huge
number of Blog objects per-hit. So it's possible that 22 isn't really
a leak. I suspect that I've fixed this in my 4.1 tree, but I haven't
tested that part yet. I'm still busy deprecating old helpers.
More information about the Typo-list