log memory state in the checkpoint initialization.