# failed to allocate memory

**URL:** <https://discuss.rubyonrails.org/t/failed-to-allocate-memory/54058>\
**Category:** rubyonrails-talk\
**Created:** [September 1, 2010, 8:57pm UTC](https://discuss.rubyonrails.org/t/failed-to-allocate-memory/54058 "2010-09-01T20:57:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathas\_Pacifico](https://avatars.discourse-cdn.com/v4/letter/j/a587f6/32.png) [@Jonathas\_Pacifico](https://discuss.rubyonrails.org/u/Jonathas_Pacifico)\
**Post date:** [September 1, 2010, 8:57pm UTC](https://discuss.rubyonrails.org/t/failed-to-allocate-memory/54058/1 "2010-09-01T20:57:30Z")

</div>

Hi there! I have an app, that sometimes shows the above message at monrel.log and production.log. The app is running at production mode.

mongrel.log

\*\* Writing PID file to log/mongrel.pid [FATAL] failed to allocate memory \*\* Daemonized, any open files are closed. Look at log/mongrel.pid and log/mongrel.log for info.

production.log ActionView::TemplateError (failed to allocate memory) on line #91 of app/views/time\_line/\_structure.html.erb:

What can it be?

Do you have any clue how can I configure mongrel to it not happen again?

Thanks
