-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
[improvement] Removed all usage of reflection, enabled trimming on UWP, improved memory usage when compiling .NET Native #184
Conversation
…com/Arlodotexe/strix-music into fix/sporadic-ci-release-mode-failures
If the Build Validation doesn't succeed on the first try then the fix was not successful. |
…com/Arlodotexe/strix-music into fix/sporadic-ci-release-mode-failures
It would appear that the problem has been slightly mitigated. The issue still appears sometimes, but it's much more likely to succeed than fail now, which is enough to usually pass the CI with a max of 3 retries. |
…k.Extras (6.2.10)
I've also set the pipeline to never retry, so now we should know if it succeeded in less than 20 minutes |
After 3 more runs, we've managed to get several additional errors. These all seem to always be paired to the existing This occured while scanning the methods for the MDIL compiler:
These occurred after successfully generating the
So far, in an attempt to curb these issues, we've enabled these properties:
It should be noted that Azure DevOps machines (where these are failing) only get 7Gb of RAM and 2 processor cores. |
I've used this to create a repro so the .NET Native team can take a look: The files have been uploaded to ipfs:
|
…6.2.14" This reverts commit 5818a2e.
…tive to 6.2.14"" This reverts commit 200705c.
We've done everything we possibly can, and we'll need to wait for the .NET Native team to get back to us before we can do more. That in mind, this PR does contain a number of useful improvements that we'll want to keep. We'll be merging this in and closing this off, saving the full fix for later. |
Overview
This PR attempts to fix an issue where .NET Native throws errors when building release on a Azure DevOps hosted agent.
We've been seeing various errors, mostly "Out of memory" and "Internal compiler error". This PR attempts to fix them.
Progress towards #170
Checklist
This PR meets the following requirements:
Additional info
Not provided