How to save notebooks

Have set below values on the yaml file, under
singleuser:
cpu:
limit: 10
guarantee: 1
memory:
limit: 64G
guarantee: 8G

If RAM memory reaches or going beyond the limit notebook/pod crashing. How to save the pod in this condition?