Message391170
No, I did not mean using msize() or something like. Since memory is managed outside of Python, we have no a list of allocated blocks.
I meant that we can get the total memory used by the Python process (using OS-specific methods) and compare it between iterations. If it continues to grow, there is a leak. It perhaps is not able to detect small leaks (less than the page size), but large leaks are more important. |
|
Date |
User |
Action |
Args |
2021-04-16 07:41:01 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vstinner, xiang.zhang, erlendaasland |
2021-04-16 07:41:01 | serhiy.storchaka | set | messageid: <1618558861.64.0.131814469698.issue35056@roundup.psfhosted.org> |
2021-04-16 07:41:01 | serhiy.storchaka | link | issue35056 messages |
2021-04-16 07:41:00 | serhiy.storchaka | create | |
|