What web host are you on? Looks like they're capping your memory allocation with OS limits.

On Jan 19, 2009, at 10:24 AM, Jason Penney wrote:

Hi,

I'm seeing this (a lot), and it seems to crash mongrel dead multiple
times a day.  Any thoughts on what might be causing it?

/XXXX/tracks/vendor/rails/actionpack/lib/action_controller/routing/ segments.rb:113:in `initialize': failed to allocate memory (NoMemoryError) from /XXXX/tracks/vendor/rails/actionpack/lib/ action_controller/routing/builder.rb:47:in `new' from /XXXX/tracks/vendor/rails/actionpack/lib/ action_controller/routing/builder.rb:47:in `segment_for' from /XXXX/tracks/vendor/rails/actionpack/lib/ action_controller/routing/builder.rb:26:in `segments_for_route_path' from /XXXX/tracks/vendor/rails/actionpack/lib/ action_controller/routing/builder.rb:162:in `build' from /XXXX/tracks/vendor/rails/actionpack/lib/ action_controller/routing/route_set.rb:263:in `add_route' from /XXXX/tracks/vendor/rails/actionpack/lib/ action_controller/routing/route_set.rb:271:in `add_named_route' from /XXXX/tracks/vendor/rails/actionpack/lib/ action_controller/routing/route_set.rb:31:in `named_route' from /XXXX/tracks/vendor/rails/activesupport/lib/ active_support/option_merger.rb:14:in `__send__'
        ... 33 levels...
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/ mongrel/command.rb:212:in `run' from /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/ mongrel_rails:281
       from /usr/bin/mongrel_rails:19:in `load'
       from /usr/bin/mongrel_rails:19


--
Jason Penney ([email protected])
http://JasonPenney.net/

_______________________________________________
Tracks-discuss mailing list
[email protected]
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss

_______________________________________________
Tracks-discuss mailing list
[email protected]
http://lists.rousette.org.uk/mailman/listinfo/tracks-discuss

Reply via email to