I make numerical calculation series with integrals in each term (Mathematica 11.1, system Linux Mint 18). I use ParallelSum with 4 kernels. I start $HistoryLength = 0 at the beginning. MemoryUsed[] at the beginning shows around 76Mb. After calculations it is around 100Mb but memory used in computer is all of my memory 7.5Gb from 8Gb. System monitor shows that there are 4 kernels with 1.2Gb each and 1 kernel with 140Mb and Mathematica itself 220Mb. How enforce Mathematica to clean kernels after calculations?
$HistoryLength
on the kernels? Some example code that reproduces the issue would help; make it take up less memory but still show the memory is not released. $\endgroup$$HistoryLength = 0
on all kernels (156054). $\endgroup$