Memory Consumption

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs