q, 14 bytes
Prints memory usage information about the current process
[email protected] .Q.w`;w`;
Sample output:
q)[email protected] .Q.w`;
{"used":127392,"heap":67108864,"peak":67108864,"wmax":0,"mmap":0,"mphy":16735457280,"syms":585,"symw":18925}