[Ruby] Memory profiling with Rails

Ryan Davis ryand-ruby at zenspider.com
Wed Aug 16 17:15:44 PDT 2006


On Aug 16, 2006, at 10:59 AM, Scott Laird wrote:

> Thanks, this helps.  I made a few small changes, and it looks like
> Typo's action cache is leak-free, but non-cached pages leak a couple
> strings per hit.  I'm sure that'll be a lot of fun to find :-(.

What do you mean when you say "leak"? I assume typo doesn't have any  
C code that might be creating a leak... In ruby leak would be  
something not garbage collectable. How would that be done with  
strings (without C code)?

OOH... I just had a thought... add this:

curr[Symbol] = Symbol.all_symbols.size



More information about the Ruby mailing list