updated reference to rss and memory