Enable heap dump by sending a USR2 kill signal.

Also add .gz files to gitignore.