Fixes creating heapdump on OutOfMemoryError.
Fixes creating heapdump on OutOfMemoryError.

jitsi/jicofo,aaronkvanmeerten/jicofo,martin7890/jicofo,jitsi/jicofo,martin7890/jicofo,martin7890/jicofo,jitsi/jicofo,aaronkvanmeerten/jicofo,aaronkvanmeerten/jicofo,jitsi/jicofo