Enable heap dump on OOM (#314)