Improvements and bug fixes in yr_process_get_memory contributed by Robin Keir