I'm having memory issues with RhodeCode. It runs out of memory, so I have to restart it. I was able to track it down to file annotation.
Steps to reproduce. Get memory monitor (I'm using top) Open some file, and press 'Show annotation'. Watch memory usage. It increases and never released.
With big file, like 200 KiB it eats all 4GBs (Yes, I'm on 32 bit version)
From that moment I'm receiving constant memory errors for almost any operation.