write heap exhaustion information to the GC logfile as well