Skip Iri_UnicodePlane3_13 test on 32-bit platforms to prevent OOM#124486
Draft
Skip Iri_UnicodePlane3_13 test on 32-bit platforms to prevent OOM#124486
Conversation
Co-authored-by: MihaZupan <25307628+MihaZupan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix test failure due to OutOfMemoryException
Skip Iri_UnicodePlane3_13 test on 32-bit platforms to prevent OOM
Feb 16, 2026
Contributor
|
Tagging subscribers to this area: @karelz, @dotnet/ncl |
vcsjones
reviewed
Feb 17, 2026
| } | ||
|
|
||
| [Fact] | ||
| [ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.Is64BitProcess))] |
Member
There was a problem hiding this comment.
"Is 64-bit" is not really a good proxy for "has a lot of memory" anymore. Mobile devices (Android / iOS) are 64-bit but tend to be memory constrained anyway. See RunGetBitLengthTestsLarge as another such example.
Consider marking this OuterLoop as well.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The
Iri_UnicodePlane3_13test fails withOutOfMemoryExceptionon 32-bit platforms. The test processes Unicode planes 3-13 (0x30000-0xDFFFF), creating a string of 720,895 characters that allocates several hundred MB—exceeding 32-bit addressable memory limits.Changes
[Fact]to[ConditionalFact(typeof(PlatformDetection), nameof(PlatformDetection.Is64BitProcess))]forIri_UnicodePlane3_13testOther Unicode plane tests (0-2, 14, 15-16) process only single planes (~65K characters each) and remain unaffected.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.