FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.15] gh-75876: Run bigmem tests in a subprocess (GH-155302) by serhiy-storchaka · Pull Request #159087 · python/cpython · GitHub

Repository navigation

[3.15] gh-75876: Run bigmem tests in a subprocess (GH-155302) - #159087

Merged
serhiy-storchaka merged 1 commit into
python:3.15from
serhiy-storchaka:backport-66d7c89-3.15
Oct 10, 2026
Merged

serhiy-storchaka merged 1 commit into
python:3.15from
serhiy-storchaka:backport-66d7c89-3.15

Conversation

Copy link
Copy Markdown
Member

Manual backport: the cherry-pick conflicted, and get_process_memory_usage() (gh-150114) is not available on this branch.

The parent process therefore does not report the memory usage of the subprocess. Everything else is as in the main branch.

Resolved as in GH-156013 (3.14) and GH-156014 (3.13): bigmemtest() is identical to both.

)

A test which really allocates the memory it asks for (that is, run with -M)
now runs in a subprocess, so that the memory it uses and the address space
it fragments are released when it ends.  A dummy run stays in the process.

The separate watchdog process is no longer used.  Unlike in the main branch,
the parent process does not report the memory usage of the subprocess:
get_process_memory_usage() (pythongh-150114) is not available on this branch.

(cherry picked from commit 66d7c89)

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
bedevere-app Bot added the type-feature A feature request or enhancement label Oct 9, 2026
bedevere-app Bot mentioned this pull request Oct 9, 2026
serhiy-storchaka removed the type-feature A feature request or enhancement label Oct 10, 2026
serhiy-storchaka merged commit 26fa570 into python:3.15 Oct 10, 2026
56 of 59 checks passed
serhiy-storchaka deleted the backport-66d7c89-3.15 branch October 10, 2026 08:11
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL