Thanks a lot for the explanations! On Wed, Apr 13, 2016 at 03:10:34PM -0400, Camm Maguire wrote:
> For now I've put in a heuristic to try to match the heuristic used in > the kernel. We default GCL_MEM_MULTIPLE to 0.85, which appears to > always allow the fork()/exec() to run. This obviously is not optimal, > but works for now. I wish you had chosen a value smaller than 0.85. If I understood well, a machine with 4GB RAM and 6GB swap will use 85% of its 10GB of available memory, which means it will use 4GB RAM and 4.5 GB of swap. But 4GB of memory (without the swap) is probably more than enough to build maxima, there should not be a need to use so much swap. See what I proposed GCL_MEM_MULTIPLE=0.5 in the first place?