You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[tvOS] OutOfMemoryException in System.IO.Pipelines.Tests.PipeWriterTests.CompleteWithLargeWriteThrows #64930
changed the title [-]OutOfMemoryException in System.IO.Pipelines.Tests.PipeWriterTests.CompleteWithLargeWriteThrows[/-][+][tvOS] OutOfMemoryException in System.IO.Pipelines.Tests.PipeWriterTests.CompleteWithLargeWriteThrows[/+]on Feb 9, 2022
What if OutOfMemoryException could play the same role in tvOS case as InvalidOperationException does in the test - sorta an invalid operation ? Then we could just add another catch section. Anyway It would be weird.
Activity
[-]OutOfMemoryException in System.IO.Pipelines.Tests.PipeWriterTests.CompleteWithLargeWriteThrows[/-][+][tvOS] OutOfMemoryException in System.IO.Pipelines.Tests.PipeWriterTests.CompleteWithLargeWriteThrows[/+]elinor-fung commentedon Feb 9, 2022
3 of the last 5 rolling builds have hit this. @steveisok / @akoeplinger any ideas on who might be able to investigate what is going on here?
steveisok commentedon Feb 9, 2022
Yes, we'll take a look at it. Seems contention related - maybe allocate a smaller amount in
runtime/src/libraries/System.IO.Pipelines/tests/PipeWriterTests.cs
Lines 233 to 258 in 99452b2
elinor-fung commentedon Feb 15, 2022
Looks like we're occasionally hitting
OutOfMemoryExceptionin this test on Android arm runs too: https://dev.azure.com/dnceng/public/_build/results?buildId=1612202&view=ms.vss-test-web.build-test-results-tab&runId=44895690&resultId=154816&paneView=dotnet-dnceng.dnceng-build-release-tasks.helix-test-information-tabMaximLipnin commentedon Feb 17, 2022
What ifAnyway It would be weird.OutOfMemoryExceptioncould play the same role in tvOS case asInvalidOperationExceptiondoes in the test - sorta an invalid operation ? Then we could just add another catch section.Improve PipeWriterTests.CompleteWithLargeWriteThrows
Improve PipeWriterTests.CompleteWithLargeWriteThrows (#65506)