I am developing a software for number theory investigation, and I am suspicious that is leaking memory.
It would be very nice to log the CPU, and RAM usage of this program through some application. ...

My system is Ubuntu 12.04 64 bit + Unity and it uses ~480Mb with no other processes-apps open, just the core system. Is this the expected amount? It seems a bit steep to me but perhaps this is normal ...

I installed debian 5 + LXDE and I was surprised that without an application running it used less than 50 MB of RAM and with Firefox and OpenOffice running it still used less than 100 MB of RAM. Ubuntu ...

When I open a RAM-intensive app (VirtualBox set at 2GB of RAM), some swap space is generally used, depending on what else I have open at the time.
However, when I quit that last application, the 2GB ...