get_vmem function; returns process virtual memory