The Stack Overflow podcast is back! Listen to an interview with our new CEO.
1 of 3

Have you tried setting $HistoryLength to zero:

$HistoryLength=0;

The memory is not freed, because the previous data is still available by Out[nn] or %.