returning memory info in stats