Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Weird Error with this code

#1260

When rendering this code get set in the view it chews up ram like no tomorrow. Not sure why its doing this because the code is right as far as I know. you can watch ruby go from 30ish megs to 1.98gigs and 4.5 gigs of virtual memory. The whole project code can get at http://gitorious.org/projects/wo... feel free to contact me at richard[non-spam][###at###]guthnur[%%%%dot%%%%]net

http://pastie.org/298852

System Informaiton

Mac OS X 10.5.5 2 gigs of ram allagash:woody_v2 richard$ rails -v Rails 2.1.1 allagash:woody_v2 richard$ ruby -v ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0] allagash:woody_v2 richard$ sudo gem list --local

LOCAL GEMS

actionmailer (2.1.1, 2.1.0, 1.3.6, 1.3.3, 1.2.5) actionpack (2.1.1, 2.1.0, 1.13.6, 1.13.3, 1.12.5) actionwebservice (1.2.6, 1.2.3, 1.1.6) activerecord (2.1.1, 2.1.0, 1.15.6, 1.15.3, 1.14.4) activeresource (2.1.1) activesupport (2.1.1, 2.1.0, 1.4.4, 1.4.2, 1.3.1) acts_as_ferret (0.4.3, 0.4.1) acts_as_versioned (0.2.3) BlueCloth (1.0.0) builder (2.1.2) capistrano (2.5.0, 2.4.3, 2.0.0) cgi_multipart_eof_fix (2.5.0, 2.2) daemons (1.0.10, 1.0.9, 1.0.7) dnssd (0.7.0, 0.6.0) faker (0.3.1) fastthread (1.0.1, 1.0) fcgi (0.8.7) feedtools (0.2.29) ferret (0.11.6, 0.11.4) gbarcode (0.98.16) gem_plugin (0.2.3, 0.2.2) google-geocode (1.2.1) highline (1.4.0, 1.2.9) hoe (1.8.0) hpricot (0.6.161, 0.6) libxml-ruby (0.8.3, 0.3.8.4) linecache (0.43) mocha (0.9.1) needle (1.3.0) net-scp (1.0.1) net-sftp (2.0.1, 1.1.0) net-ssh (2.0.4, 2.0.3, 1.1.2) net-ssh-gateway (1.0.0) nifty-generators (0.1.8) passenger (2.0.3) populator (0.2.5) rack (0.4.0) rails (2.1.1, 2.1.0, 1.2.6, 1.2.3, 1.1.6) rake (0.8.3, 0.8.2, 0.8.1, 0.7.3) rapt (0.2.2) rc-rest (2.2.1) rdoc (2.2.1, 2.2.0, 2.1.0) RedCloth (4.0.4, 4.0.3, 4.0.1, 3.301, 3.0.4) rspec (1.1.8) ruby-debug-base (0.10.2, 0.10.1, 0.10.0) ruby-debug-ide (0.3.1, 0.3.0, 0.2.1, 0.1.10) ruby-openid (2.1.2, 1.1.4) ruby-yadis (0.3.4) rubyforge (1.0.0) rubygems-update (1.3.0, 1.2.0) rubynode (0.1.5, 0.1.3) sources (0.0.1) sqlite3-ruby (1.2.4, 1.2.2, 1.2.1) termios (0.9.4) uuidtools (1.0.4, 1.0.3) ym4r (0.6.1) ZenTest (3.10.0)

Reported by moos3 · October 23rd, 2008 @ 02:03 PM

State: invalid
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. moos3
  2. DHH
    DHH
    • State changed from new to invalid

    You're going to have to narrow down the code further until there's only the minimal part left that produces the error.

    October 30th, 2008 @ 11:23 AM