Tracking memory usage of a child process