# Failed to allocate memory

**URL:** <https://www.ruby-forum.com/t/failed-to-allocate-memory/194276>\
**Category:** Rails\
**Created:** [September 1, 2010, 11:31pm UTC](https://www.ruby-forum.com/t/failed-to-allocate-memory/194276 "2010-09-01T23:31:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathas\_PacSSS\_fic](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/c57346/32.png) [@Jonathas\_PacSSS\_fic](https://www.ruby-forum.com/u/Jonathas_PacSSS_fic)\
**Post date:** [September 1, 2010, 11:31pm UTC](https://www.ruby-forum.com/t/failed-to-allocate-memory/194276/1 "2010-09-01T23:31:05Z")

</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
