Bug 24309 – Memory allocation failed on Azure pipeline
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2023-12-30T13:45:43Z
Last change time
2024-02-04T12:18:08Z
Keywords
pull
Assigned to
No Owner
Creator
Tim
Comments
Comment #0 by tim.dlang — 2023-12-30T13:45:43Z
The DMD tests on the Azure pipeline Windows_VisualD_LDC x64_Debug sometimes fail with the following output:
../generated/windows/debug/64/unittest/test_runner.exe core.internal.gc.impl.conservative.gc
Creating library ..\generated\windows\release\64\unittest\test_runner.lib and object ..\generated\windows\release\64\unittest\test_runner.exp
****** FAIL debug64 core.internal.gc.impl.conservative.gc
core.exception.OutOfMemoryError@src\core\lifetime.d(126): Memory allocation failed
See for example here: https://dev.azure.com/dlanguage/dmd/_build/results?buildId=40283&view=logs&jobId=4eadb322-4cab-54fe-0034-466161775765
The same error happens for different PRs.
The unittests for module core.internal.gc.impl.conservative.gc seem to allocate some bigger blocks for testing. Maybe that needs too much memory for this Azure pipeline
Comment #1 by dlang-bot — 2024-01-02T13:14:08Z
@rainers created dlang/dmd pull request #15983 "trying to fix Issue 24309 - Memory allocation failed on Azure pipeline" mentioning this issue:
- trying to fix Issue 24309 - Memory allocation failed on Azure pipeline
exception stack no longer uses the GC, so we don't have to suppress it
also add file and line information of the call site, not emplace
https://github.com/dlang/dmd/pull/15983
Comment #2 by dlang-bot — 2024-01-03T10:30:56Z
dlang/dmd pull request #15983 "trying to fix Issue 24309 - Memory allocation failed on Azure pipeline" was merged into master:
- 6617bab57490c8f840d6781f825c7a025580ad92 by Rainer Schuetze:
investigate Issue 24309 - Memory allocation failed on Azure pipeline
exception stack no longer uses the GC, so we don't have to suppress it
also add file and line information of the call site, not emplace
https://github.com/dlang/dmd/pull/15983
Comment #3 by dlang-bot — 2024-01-04T11:19:19Z
@rainers created dlang/dmd pull request #15997 "fix issue 24309 - Memory allocation failed on Azure pipeline" fixing this issue:
- fix issue 24309 - Memory allocation failed on Azure pipeline
only run GC test that requires 4 GB of memory if that's available as *free* physical memory
https://github.com/dlang/dmd/pull/15997
Comment #4 by dlang-bot — 2024-01-04T16:56:26Z
dlang/dmd pull request #15997 "fix issue 24309 - Memory allocation failed on Azure pipeline" was merged into stable:
- cd637ed96c4d80017108839e832f1a51ef9afe1c by Rainer Schuetze:
fix issue 24309 - Memory allocation failed on Azure pipeline
only run GC test that requires 4 GB of memory if that's available as *free* physical memory
https://github.com/dlang/dmd/pull/15997
Comment #5 by dlang-bot — 2024-01-04T22:34:45Z
dlang/dmd pull request #15998 "Merge stable" was merged into master:
- e1d15127bc29424956677d8266b4daa7a32837ed by Rainer Schuetze:
fix issue 24309 - Memory allocation failed on Azure pipeline
only run GC test that requires 4 GB of memory if that's available as *free* physical memory
https://github.com/dlang/dmd/pull/15998
Comment #6 by dlang-bot — 2024-02-04T12:18:08Z
dlang/dmd pull request #16146 "Fix issue 24309 - Memory allocation failed on Azure pipeline" was merged into master:
- 1bc3393b02648c71fcb3318de7c3ac10d7a742cf by Rainer Schuetze:
Fix Bugzilla issue 24309 - Memory allocation failed on Azure pipeline
ignore spurious out-of-memory errors, the test is about something else
https://github.com/dlang/dmd/pull/16146