Add a routine to get the size of the current process