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

Profile resident memory per module #2549

Open
vladsavelyev opened this issue May 9, 2024 · 0 comments
Open

Profile resident memory per module #2549

vladsavelyev opened this issue May 9, 2024 · 0 comments

Comments

@vladsavelyev
Copy link
Member

Description of feature

#2548 adds tracking of allocated memory per each module. Tracking allocations, however, slows down the run time - due to tracemalloc wrapping each malloc call - and adds memory overhead for hashtables storing allocations.

Tracking resident memory instead of the allocated memory sounds more reasonable.

Use psutil or alternative instead of tracemalloc to track peak and change memory for each module.

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

No branches or pull requests

2 participants