-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hitting OOM in LLVM for the wasi-wasm aot smoke tests #96630
Comments
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsFrom #96455:
This is possibly related to the use of
|
Possibly the same issue as #96631, hitting the issue even after removing all usages of |
Not sure this is related to #96455, the failure is in the System.Collections.Specialized.Tests test suite, whose linked corlib doesn't even contain the VectorMath class. |
@vargaz not sure what you mean? CoreLib always includes I've also not seen this particular issue reproduce anywhere except my PR so far. |
The test projects are linked, and the dotnet linker removes VectorMath from the corlib which is AOTed in System.Collections.Specialized.Tests. |
|
Might have gotten fixed/worked around by #97189. |
Note that this is an OOM when running clang not when running the AOT compiler, and on wasm, clang is run by an msbuild task, not the aot compiler. So memory usage reduction in the aot compiler might not fix it. |
It looks like reenabling the additional passes has stopped the OOM. |
From #96455:
This is possibly related to the use of
static virtuals in interfaces
+generics
+vectors
in theVectorMath
class here (latest commit is working around the issue by not using generics, so look back one commit to see): https://github.com/dotnet/runtime/pull/96455/files#diff-b19d582dbc1021ce89fed7edc91778f2b8ca5087d777c552d536aed34f1625e5CI link: https://github.com/dotnet/runtime/runs/20216910077
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=544187
Known issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=544187
Error message validated:
error : LLVM ERROR: out of memory
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 1/29/2024 6:38:16 PM UTC
Report
Summary
The text was updated successfully, but these errors were encountered: