Print heap usage information. Before calling this function the current thread must have the heap lock.