[Rubygems-developers] Slow gem Update

Eric Hodel drbrain at segment7.net
Sun Aug 19 14:46:33 EDT 2007

On Aug 19, 2007, at 06:45, Farhan Ahmad wrote:
> Eric Hodel wrote:
>> On Aug 18, 2007, at 23:21, Eric Hodel wrote:
>>> On Aug 18, 2007, at 14:28, Farhan Ahmad wrote:
>>>>     I have been looking into why 'gem update' has been taking hours
>>>> and hours on my computer to complete.  Given that it's only a  
>>>> 700Mhz
>>>> machine with 512MB RAM I still didn't think that would qualify it
>>>> for such
>>>> slow updates.
>>> How much RAM is it using?  I see about 120MB max with a bulk update
>>> on OS X.
>> Second data point, ~20 minutes and ~70MB resident on a machine that
>> should be at least an order of magnitude, possibly two, slower than
>> yours.
> Apparently, it seems that the system only has 128MB RAM instead of the
> original 512MB that I was thinking.

Try increasing the bulk theshold to something like 10000.  `gem list - 
r -B 10000`.

I'm working with Tom to get the new, fixed gem indexer installed so  
the quick index is always available.

Poor workers blame their tools. Good workers build better tools. The
best workers get their tools to do the work for them. -- Syndicate Wars

More information about the Rubygems-developers mailing list