Is there a RAM usage function?

/tool profile will show CPU usage.. Is there an equivalent for RAM usage?

Sadly, no.