Skip to content

Measure memory again before failing ScenarioXGC - #2206

Merged
slozier merged 1 commit into
IronLanguages:mainfrom
deronnax:stabilize-scenarioxgc
Dec 4, 2026
Merged

slozier merged 1 commit into
IronLanguages:mainfrom
deronnax:stabilize-scenarioxgc

Conversation

@deronnax

@deronnax deronnax commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

Stress.Engine.ScenarioXGC occasionally fails on Linux with Mono although nothing leaks. The test now measures again, at most 5 times, while the memory used is over the threshold, similarly to what #2182 did for the Python memory tests. A leak stays over the threshold and still fails the test.

On Linux x64 with Mono 6.14.1, repeating the measurement on main, 1 of 48 runs within the IronPython category read 2475344 bytes (threshold: 100000), and the five following measurements were all negative. 120 runs of the test alone never went over the threshold. The cause of the transient reading is unknown.

Refs #1444.

Written with Claude Sonnet 5.5, reasoning effort: medium.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

@slozier slozier left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@slozier
slozier merged commit 9a919ef into IronLanguages:main Dec 4, 2026
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants