"Out of memory" error in active_record_runtime()

Jon Tara wrote:

I'd previously run through all the the Depot code, and written a Rails
application using Rails 1.1.9. I wanted to dust-off my Rails and update
the app, so I first updated to Rails 2.2.6 I am running Ruby 1.8.5
(2007-09-24 patchlevel 114) [x86_64-linux] which is the current Ruby in
the Fedora Core 6 repository.
...
NoMemoryError in StoreController#empty_cart

negative allocation size (or too big)

http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/da3d6c49bdaf984c