Added memory usage script from so question