https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119112
Bug ID: 119112
Summary: dub OOMs with restrictive ulimit in Docker
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: d
Assignee: ibuclaw at gdcproject dot org
Reporter: sjames at gcc dot gnu.org
CC: eschwartz93 at gmail dot com
Target Milestone: ---
Hi!
We've had a few reports of dub leading to OOMs when a restrictive ulimit is set
in Docker. This shows up especially when running Meson's testsuite
(https://github.com/mesonbuild/meson/pull/13555,
https://github.com/mesonbuild/meson/pull/13710).
This is fixed upstream in dmd+libphobos with:
* https://github.com/dlang/dmd/pull/16806
* https://github.com/dlang/phobos/pull/9048
... which use closefrom() instead of very slowly calling close().
Could these be considered for backporting to 14 at least? Thanks!