Hi Marcus,

On 29/05/07, Marcus Rueckert <[EMAIL PROTECTED]> wrote:
> > The ruby process eats all available memory and most, although not all,
> > of the swap. CPU usage appeared minimal although the load average
> > crept up. There is nothing else on the system competing for memory or
> > cpu while this was going on.
>
> mostlikely it needed the 8hrs because it was constantly swapping.
>

Yes. I guess I was puzzled that it didn't just exhaust it all and die.

> >   curl -o yaml http://gems.rubyforge.org/yaml
> >   irb
> >   require 'yaml'
> >   YAML.load( File.open( 'yaml' ) )
> >
> > This uses a lot of CPU until free ram is exhausted (with ruby between
> > 70-75mb), then CPU use drops to almost nothing while the process
> > acretes swap space. The VPS has 96mb ram + 128mb of swap.
>
> i tried it on my box and it went up to 220 mb (the peak usage i could
> see in top).
>

I think it got to somewhere north 500mb when I tried it on my MBP
(with 2gb of RAM).

> just curious: what ruby version do you have?
>

[EMAIL PROTECTED]:/var/apps/squib/current# uname -a
Linux host.mattmower.com 2.6.16-xen #8 SMP Mon Jun 26 03:20:22 PDT
2006 i686 GNU/Linux

[EMAIL PROTECTED]:/var/apps/squib/current# ruby -v
ruby 1.8.6 (2007-03-13 patchlevel 0) [i686-linux]

[EMAIL PROTECTED]:/var/apps/squib/current# gem -v
0.9.3

Regards,

Matt

-- 
Matt Mower :: http://matt.blogs.it/
_______________________________________________
Rubygems-developers mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to