-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Open
Labels
state: needs discussionThis needs some more discussionThis needs some more discussiontype: performanceCommands take too long to runCommands take too long to run
Description
Description
I don't know if anything can be done about this, but using memray do to a memory analysis of pip for a large dry install (apache-airflow[all]==2.9.2) there is a peak memory usage of 354 MBs and 250 MBs of that is a list of pages.
Expected behavior
This seems like far too much memory, like the whole page contents is being kept in memory where a smaller representation of the page needs to be kept?
pip version
24.1.1
Python version
3.12
OS
Linux
How to Reproduce
- Create and activate virtual environment
python -m pip install memraypython -m pip install --dry-run "apache-airflow[all]==2.9.2"(to fill cache)python -m memray run -m pip install --dry-run "apache-airflow[all]==2.9.2"python -m memray flamegraph memray-pip.*.bin
Output
Code of Conduct
- I agree to follow the PSF Code of Conduct.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
state: needs discussionThis needs some more discussionThis needs some more discussiontype: performanceCommands take too long to runCommands take too long to run
