rails-LubOGBy5Ou8Ud+WwKJZ6pFaTQe2KTcn/@public.gmane.org
2005-Mar-18 14:12 UTC
NoMemoryError on "gem install rails"
Greetings all-- Humble newbie requesting help here. I''ve just installed Ruby 1.8.2, Rake 0.4.15, and RubyGems 0.8.8. When I try to get Rails into place via "gem install rails," I get the error below. What have I done wrong? Can anybody throw me a rope? Attempting local installation of ''rails'' Local gem file not found: rails*.gem Attempting remote installation of ''rails'' Updating Gem source index for: http://gems.rubyforge.org /home/foo/usr/lib/ruby/1.8/yaml.rb:119:in `load'': failed to allocate memory (NoMemoryError) from /home/foo/usr/lib/ruby/1.8/yaml.rb:119:in `load'' from /home/foo/usr/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:119:in `convert_spec'' from /home/foo/usr/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:56:in `source_index'' from /home/foo/usr/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:291:in `source_index'' from /home/foo/usr/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:423:in `fetch_source'' from /home/foo/usr/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:414:in `source_index_hash'' from /home/foo/usr/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:413:in `each'' from /home/foo/usr/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:413:in `source_index_hash'' from /home/foo/usr/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:377:in `install'' from /home/foo/usr/lib/ruby/site_ruby/1.8/rubygems/gem_commands.rb:179:in `execute'' from /home/foo/usr/lib/ruby/site_ruby/1.8/rubygems/gem_commands.rb:137:in `each'' from /home/foo/usr/lib/ruby/site_ruby/1.8/rubygems/gem_commands.rb:137:in `execute'' from /home/foo/usr/lib/ruby/site_ruby/1.8/rubygems/command.rb:49:in `invoke'' from /home/foo/usr/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:92:in `process_args'' from /home/foo/usr/lib/ruby/site_ruby/1.8/rubygems/cmd_manager.rb:65:in `run'' from /home/foo/usr/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:9:in `run'' from /home/foo/usr/bin/gem:17
On Fri, 18 Mar 2005 rails-LubOGBy5Ou8Ud+WwKJZ6pFaTQe2KTcn/@public.gmane.org wrote:> Greetings all-- > Humble newbie requesting help here. I''ve just installed Ruby 1.8.2, Rake > 0.4.15, and RubyGems 0.8.8. When I try to get Rails into place via "gem > install rails," I get the error below. What have I done wrong? Can anybody > throw me a rope? Attempting local installation of ''rails'' Local gem file > not found: rails*.gem Attempting remote installation of ''rails'' > /home/foo/usr/lib/ruby/1.8/yaml.rb:119:in `load'': failed to allocate memory > (NoMemoryError) > from /home/foo/usr/lib/ruby/1.8/yaml.rb:119:in `load'' > from > /home/foo/usr/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:119:inthis is simply saying malloc returned zero. the only reaon that happens is that your system has too much running or something running with a memory leak (web browser) and are out of memory. shut some things down and try again. -a -- ==============================================================================| EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov | PHONE :: 303.497.6469 | When you do something, you should burn yourself completely, like a good | bonfire, leaving no trace of yourself. --Shunryu Suzuki ===============================================================================
Thanks for jumping in, Ara. Given that I''ve installed all this on a remote server (tigertech.net, my webhosts--and yes they did grant me permission to do so), I''m not sure what my options are as to shutting things down. I guess my next step is to contact the hosts? To see if there''s something they can massage at their end to make more memory available to the process? A Ara.T.Howard writes:> On Fri, 18 Mar 2005 rails-LubOGBy5Ou8Ud+WwKJZ6pFaTQe2KTcn/@public.gmane.org wrote: > >> Greetings all-- Humble newbie requesting help here. I''ve just installed >> Ruby 1.8.2, Rake 0.4.15, and RubyGems 0.8.8. When I try to get Rails into place via "gem >> install rails," I get the error below. What have I done wrong? Can anybody >> throw me a rope? >> Attempting local installation of ''rails'' Local gem file >> not found: rails*.gem Attempting remote installation of ''rails'' >> /home/foo/usr/lib/ruby/1.8/yaml.rb:119:in `load'': failed to allocate >> memory (NoMemoryError) >> from /home/foo/usr/lib/ruby/1.8/yaml.rb:119:in `load'' >> from >> /home/foo/usr/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:119:in > > this is simply saying malloc returned zero. the only reaon that happens > is > that your system has too much running or something running with a memory > leak > (web browser) and are out of memory. shut some things down and try again. > > -a > -- > ========================================================================== > ====> | EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov > | PHONE :: 303.497.6469 > | When you do something, you should burn yourself completely, like a good > | bonfire, leaving no trace of yourself. --Shunryu Suzuki > ========================================================================== > ====> _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails
On Fri, 18 Mar 2005, Andrew Willett wrote:> Thanks for jumping in, Ara.> Given that I''ve installed all this on a remote server (tigertech.net, my > webhosts--and yes they did grant me permission to do so), I''m not sure what > my options are as to shutting things down. I guess my next step is to > contact the hosts? To see if there''s something they can massage at their end > to make more memory available to the process?you could be ulimited over there... hard to imagine though. nonetheless - the error is saying you are simply out of memory so - why? you may be softlimited and can raise it yourself... cheers.> A> Ara.T.Howard writes: >> On Fri, 18 Mar 2005 rails-LubOGBy5Ou8Ud+WwKJZ6pFaTQe2KTcn/@public.gmane.org wrote: >>> Greetings all-- Humble newbie requesting help here. I''ve just installed >>> Ruby 1.8.2, Rake 0.4.15, and RubyGems 0.8.8. When I try to get Rails >>> into place via "gem >>> install rails," I get the error below. What have I done wrong? Can >>> anybody >>> throw me a rope? Attempting local installation of ''rails'' Local gem >>> file >>> not found: rails*.gem Attempting remote installation of ''rails'' >>> /home/foo/usr/lib/ruby/1.8/yaml.rb:119:in `load'': failed to allocate >>> memory (NoMemoryError) >>> from /home/foo/usr/lib/ruby/1.8/yaml.rb:119:in `load'' >>> from >>> /home/foo/usr/lib/ruby/site_ruby/1.8/rubygems/remote_installer.rb:119:in >> >> this is simply saying malloc returned zero. the only reaon that happens >> is >> that your system has too much running or something running with a memory >> leak >> (web browser) and are out of memory. shut some things down and try again. >> -a >> -- >> ========================================================================== >> ====>> | EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov >> | PHONE :: 303.497.6469 >> | When you do something, you should burn yourself completely, like a good >> | bonfire, leaving no trace of yourself. --Shunryu Suzuki >> ========================================================================== >> ====>> _______________________________________________ >> Rails mailing list >> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> http://lists.rubyonrails.org/mailman/listinfo/rails > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-a -- ==============================================================================| EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov | PHONE :: 303.497.6469 | When you do something, you should burn yourself completely, like a good | bonfire, leaving no trace of yourself. --Shunryu Suzuki ===============================================================================
On Saturday, March 19, 2005, 1:12:29 AM, rails wrote:> Greetings all--> Humble newbie requesting help here. I''ve just installed Ruby 1.8.2, Rake > 0.4.15, and RubyGems 0.8.8. When I try to get Rails into place via "gem > install rails," I get [a NoMemoryError].Make sure you''re using the latest RubyGems. I had that error on my server as well but I think it''s gone now. Cheers, Gavin