HPCC-11416 Make OOM reports conditional

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>