Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-37737: mmap module, track anonymous paging case on macOS #15068

Closed
wants to merge 2 commits into from

Conversation

devnexen
Copy link
Contributor

@devnexen devnexen commented Aug 1, 2019

@devnexen devnexen changed the title mmap module, track anonymous paging case on macOS bpo-37737: mmap module, track anonymous paging case on macOS Aug 1, 2019
@devnexen
Copy link
Contributor Author

devnexen commented Aug 1, 2019

Allows output as :
image

@ronaldoussoren
Copy link
Contributor

What is the use case for this?

And why one memory tag with a specific value?

@devnexen
Copy link
Contributor Author

devnexen commented Aug 1, 2019

If it is you wish the python mmap module mapping standing out to monitor it more accurately.
Otherwise tag ID is allowed up to 255, guaranteed from 240 to be freely available at least.

@ronaldoussoren
Copy link
Contributor

I still don't understand what the use case is, why is it useful to track usage of mmap.mmap in this way?

I'd expect that tracking Python's memory allocator would be more useful to track memory usage patterns and debug production issues.

@devnexen
Copy link
Contributor Author

devnexen commented Aug 5, 2019

It is a more native mean ... when it occurs you monitor the whole system and allows to distinguish python from the rest.

@ronaldoussoren
Copy link
Contributor

I still don't think this is a useful feature. I'm therefore closing this PR (and the related issue).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants