Only force GC if we are logging an OOM