Welcome Guest | Login

Memory Errors with VPS


Each time I try and update, install or modify a gem I get a NoMemoryError even though the VPS has got half a gig of memory.

Any idea what's going on here?


root@alpha [/etc/sysconfig]# gem install rmagick
Bulk updating Gem source index for: http://gems.rubyforge.org
/usr/local/lib/ruby/1.8/yaml.rb:133:in `transfer': failed to allocate memory (NoMemoryError)
from /usr/local/lib/ruby/1.8/yaml.rb:133:in `node_import'
from /usr/local/lib/ruby/1.8/yaml.rb:133:in `load'
from /usr/local/lib/ruby/1.8/yaml.rb:133:in `load'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:337:in `fetch_index_from'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:329:in `each'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:329:in `fetch_index_from'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:352:in `fetch_bulk_index'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:292:in `update'
 ... 13 levels...
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:104:in `process_args'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:74:in `run'
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:39:in `run'
from /usr/local/bin/gem:22

2008-12-03 12:40 AM

You've 512MB dedicated memory assigned to your VPS server. But it might require more memory to install some gems. Either you can upgrade your memory or contact support team so that they can try installing the particular gem for you.

2008-12-03 12:57 AM


Hello Guest! In order to post you must be an active client with us, please log in or sign up today!