Recently I've been getting a rather annoying problem, which seems to be linked to Firefox-Trunk, Thunderbird-Trunk, or possible Compiz (default 12.04
compiz with Unity). At random (it seems) the system becomes unusable because the RAM is suddenly full.
I thought it was a Firefox only problem (with Google+ - if you scroll it was doing this), but further investigation revealed other potential causes. I've since disabled all addons and the problem has not yet occured (at the time of writing) - but I'm waiting to see - because I had to start KDM just to log in (Lightdm freezes now thanks to having to kill the xserver twice).
Preramble aside - is there a way that I can track what process is going out of hand (maybe by a log?) so I can fix it later?