> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Eric Hodel > Sent: Friday, October 05, 2007 9:13 AM > To: [email protected] > Subject: Re: [Rubygems-developers] GC.start after "require 'rubygems'" > > > On Oct 5, 2007, at 07:19 , Berger, Daniel wrote: > > Just saw this, thought it might be of interest: > > > > http://blog.ra66i.org/archives/informatics/2007/10/05/calling-on- > > the-gc- > > after-rubygems/ > > > > Basically, the OP says that calling GC.start after require'ing > > rubygems > > saved a good amount of memory. > > I've reduced the number of classes RubyGems loads at startup. No > longer does require 'rubygems' load anything that won't be used by > the custom require or the gem methods. > > On my platform I've got ruby using up 1.30M virgin, 3.23M after > require 'rubygems', and 3.23M after the suggested GC.start.
Excellent, good to know. :) Regards, Dan This communication is the property of Qwest and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately notify the sender by reply e-mail and destroy all copies of the communication and any attachments. _______________________________________________ Rubygems-developers mailing list [email protected] http://rubyforge.org/mailman/listinfo/rubygems-developers
