Adding diagnostics posted to gist to debug out of memory

copy diagnostics files and add it to release cmd