On sbcl run_testsuite(share_tests=true) did sometimes OOM
commit11fc1a2fdf2d7defc089945763c6324310574bf9
authorGunter Königsmann <gunter@peterpall.de>
Sun, 15 Jul 2018 13:42:24 +0000 (15 15:42 +0200)
committerGunter Königsmann <gunter@peterpall.de>
Sun, 15 Jul 2018 13:42:24 +0000 (15 15:42 +0200)
treef6eb2a4b1c404388f629b195e5d64b9903e735a1
parentfa6459aa6633376591017b1c2d313576a8e3f3db
On sbcl run_testsuite(share_tests=true) did sometimes OOM

Let's try to prevent the out-of-memory by manually triggering a
garbage collection on loading a package.

The speed penalty of this garbage collection is low as it appears
only seldomly. Let's see, though, if the build server tells us
that it actually helps.

If it doesn't help I will revert this commit.
My guess is that tweaking sb-ext:bytes-consed-between-gcs might
reduce the memory fragmentation by sbcl that is the main reason
for running out of memory. But that would be a bigger change so
I'd like to try it last.
src/mload.lisp