Adding diagnostics posted to gist to debug out of memory

Refined ps to display hierarchy, cmd printed in inital content