Repository navigation
Update OutOfMemoryException message - #74374
eduardo-vp wants to merge 3 commits into
Conversation
|
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label. |
Co-authored-by: Dan Moseley <[email protected]>
|
@jkotas any position on the message? |
|
If there are places where we are throwing OutOfMemoryException in situations that are not actually out-of-memory, we should fix those places. We have done that already for multiple of them. For example, look for: I do not think we should be modifying the default message for OutOfMemoryException. It does not help with diagnosing the problems that are not actual out of memory exceptions. |
|
Yea even better. Custom messages, but same exception type. runtime/src/coreclr/vm/syncblk.cpp Line 843 in 2201016 @eduardo-vp You may need to reproduce a particular case locally in order to confidently fix its message. We can do a few or just one at a time. |
|
Draft Pull Request was automatically closed for 30 days of inactivity. Please let us know if you'd like to reopen it. |
Fixes #71761 and #55964