I know that we can constrain the memory usage of certain computation using
Is there a way to constrain the memory of each cell evaluation during the whole notebook session? Say for a particular session, I want to give Mathematica only 3 GB ram.
I want this because most of the time, unintentionally, I use up all my 4 GB of ram. And on Windows running out of memory hangs the system, so recently I have been unplugging the power a lot. :(
$HistoryLength = 0conserves some memory. $\endgroup$