# Memory Consumption

**URL:** <https://www.ruby-forum.com/t/memory-consumption/133581>\
**Category:** Rails\
**Created:** [April 1, 2008, 9:38pm UTC](https://www.ruby-forum.com/t/memory-consumption/133581 "2008-04-01T21:38:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![djohn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/cab0a1/32.png) [@djohn](https://www.ruby-forum.com/u/djohn)\
**Post date:** [April 1, 2008, 9:38pm UTC](https://www.ruby-forum.com/t/memory-consumption/133581/1 "2008-04-01T21:38:48Z")

</div>

Greetings,

I’ve recently deployed an app that is having some serious memory  
consumption issue. Dropping mongrels quite frequently when the  
threshold is met.

Initially, we chalked this problem up to RMagick (I know, I know, but  
we needed watermarking). We quickly optimized things so all images  
were only processed once then neatly stored in their own folder. When  
an image is requested, we confirm that it doesn’t exist before  
processing it. Been tested, and this is working as it should.

According to some memory profiling we’ve done, there are a couple of  
key pages that are creating large amounts of strings that are not  
being reclaimed.

Has anyone ever experienced issues similar to this?

Cheers,  
DJ
