I'm running a lot of loops on big data sets and need to conserve as much memory as possible. Each big loop creates a big file or results. I have set
$HistoryLength = 1;
but am wondering whether there is a way to clear all history of previous computations between runs of a loop without clearing variable definitions. Any tips?