fmt
restore memory limit enforcement from snapshot

[#61232150]