"Use the »increment on save« option and save often."
The undo-stack consumes much RAM depending on the steps it stacks. You will also set the »autosave« option to a reasonable time (I set it to 10 minutes) according to the speed you are working within 3DSMax.