This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Disable MTLCommandBufferErrorOptionEncoderExecutionStatus in release mode #40453
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.
See flutter/flutter#122906
The best I can tell from Instruments when running that test 1000 times over is that Apple has some bug around leaking these.
I'm not really clear on how much value we really get out of the tracing here and hope that @bdero or @chinmaygarde can explain that further. It seems possible to me that in some kind of add-to-app scenario it would be possible to hit limitations around this. In local testing, I was consistently seeing OOM related issues after either 49 or 240 runs of the compute unittests. With this block commented out I could do 1000 and memory stayed relatively flat.