Message382067
1 KiB is too low for Python. The interpreter itself needs more than 10 MiB to start, and more if it imports some modules. I suppose that the limit set affect only new requests for memory from OS, but Python already have some free memory reserved in the memory pool.
With larger limit you can get more reliable data. Note that get_traced_memory() counts only dynamically allocated memory, it does not count static memory, stack memory and memory reserved for the memory pool. |
|
Date |
User |
Action |
Args |
2020-11-29 14:53:14 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, vstinner, Vipul-Cariappa |
2020-11-29 14:53:14 | serhiy.storchaka | set | messageid: <1606661594.28.0.40293952055.issue42502@roundup.psfhosted.org> |
2020-11-29 14:53:14 | serhiy.storchaka | link | issue42502 messages |
2020-11-29 14:53:14 | serhiy.storchaka | create | |
|