Monitoring memory use on each request in Rails

In Elsewhere, Ruby on Rails

An oldie but a goldie.. Kent Siblev had an issue with his Rails application ballooning to 150 megabytes of memory usage per process. He couldn't figure out where the problem was, so he wrote a small plugin called MemoryLogging to check memory usage on each request (Linux only, I'm afraid). He found his problem within minutes and explains what was going on.

Vaguely Related Posts (Usually)

Comments are closed.