Sleep Deprivation & Alcohol both interrupt this transfer.

Sleep deprivation and alcohol both prevent the transfer of memories from short term to long term. Things are simply erased.


Source