On 8/15/06, Piers Cawley <[EMAIL PROTECTED]> wrote: > "Steve Longdo" <[EMAIL PROTECTED]> 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 > out.
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. Scott _______________________________________________ Typo-list mailing list [email protected] http://rubyforge.org/mailman/listinfo/typo-list
