Toby DiPasquale on 25 Apr 2006 16:06:48 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PhillyOnRails] Garbage collection


On Tue, Apr 25, 2006 at 11:26:03AM -0400, Aaron Blohowiak wrote:
> Toby mentioned garbage collection and memory usage. While most of us  
> aren't doing T's, even in normal rails use, GC has an impact.
> 
> While seemingly a "low-level" detail, garbage collection can make a  
> huge (33%-100%) difference in requests per second.
> 
> http://railsexpress.de/blog/files/reports/rails1.0_vs_rails1.1/ 
> report.html

Wow, this looks really good. Thanks :)

> Also, Toby:
> 
> I don't know if you read eigenclass.org -- HIGHLY RECCOMENDED -- but  
> there was a recent post about memory use with small objects that may  
> interest you: http://eigenclass.org/hiki.rb?ruby+space+overhead

Yeah, I'm subbed on that and saw it and the followup. I wasn't so much
worried about the overhead, but rather the length of the objects life,
which seems to be getting out of hand. I don't want to have to create
additional scopes and call chain in order to throw out garbage, but it
certainly looks like I will have to.

-- 
Toby DiPasquale
_______________________________________________
talk mailing list
talk@phillyonrails.org
http://lists.phillyonrails.org/mailman/listinfo/talk