Brian Hennessey
2005-Apr-16 13:37 UTC
[brian-DcfkaLM1YyUyJZ9hMiHtYPC9HSW9iNxf@public.gmane.org: WEBrick error]
Hello All-- I am brand new to Ruby on Rails. I have downloaded the most recent stable versions. I do see the congrats page, but I am receiving an error in WEBrick when connecting to my first page: Rails application started on http://0.0.0.0:3000 [2005-04-15 19:34:59] INFO WEBrick 1.3.1 [2005-04-15 19:34:59] INFO ruby 1.8.2 (2004-12-25) [i686-linux] [2005-04-15 19:34:59] INFO WEBrick::HTTPServer#start: pid=6203 port=3000 127.0.0.1 - - [15/Apr/2005:19:35:06 EDT] "GET /account/new HTTP/1.1" 500 6857 - -> /account/new [FATAL] failed to allocate memory The page returns: NoMemoryError in Account#new failed to allocate memory script/server:48 I created the database, run script/generate model,controller, and edited the controller (scaffold :account). I have googled but have come up with no answers. Anyone seen this error? My env: SuSE 9.2 Postgresql 7.4 gems 0.8.10 ruby 1.8.2 postgres-pr 0.4.0 Thanks so much for any assistance. -- Brian Hennessey Systems Analyst hennessey consulting services LLC brian --at-- hennesseyconsulting.com www.hennesseyconsulting.com ----- End forwarded message ----- -- Brian Hennessey Systems Analyst hennessey consulting services LLC brian-DcfkaLM1YyUyJZ9hMiHtYPC9HSW9iNxf@public.gmane.org (804) 673-7312 : www.hennesseyconsulting.com
David Heinemeier Hansson
2005-Apr-16 14:07 UTC
Re: [brian-DcfkaLM1YyUyJZ9hMiHtYPC9HSW9iNxf@public.gmane.org: WEBrick error]
> I have googled but have come up with no answers. Anyone seen this > error?This is Ruby throwing an error on being unable to allocate enough memory for something. I''ve seen it with huge data sets on Instiki when it tried to allocate 500MB. But definitely not on a newly started WEBrick with clean Rails. Perhaps some process is running amok in your Account#new action that tries to allocate all the memory in your machine. Could you post that controller? -- David Heinemeier Hansson, http://www.basecamphq.com/ -- Web-based Project Management http://www.rubyonrails.org/ -- Web-application framework for Ruby http://www.loudthinking.com/ -- Broadcasting Brain
Brian Hennessey
2005-Apr-16 14:18 UTC
Re: [brian-DcfkaLM1YyUyJZ9hMiHtYPC9HSW9iNxf@public.gmane.org: WEBrick error]
Thanks for to reply. Here is the controller: class AccountController < ApplicationController scaffold :account end -- Brian Hennessey Systems Analyst hennessey consulting services LLC www.hennesseyconsulting.com