Message359239
| Author |
mneerup |
| Recipients |
mneerup |
| Date |
2020年01月03日.15:32:28 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1578065548.82.0.563193246076.issue39201@roundup.psfhosted.org> |
| In-reply-to |
| Content |
Hi,
I think there is an issue with memory allocating with threading.Timer in 3.8.0/3.8.1.
When I run the attached code in Python 3.7.3 I get a memory consumption of approx. 10 MB. If I run the same code with python 3.8.0 or 3.8.1, it keeps consuming memory (several hundreds of MB).
I've attached 3 images where I run the attached script under mprof.
By inspect of the output from tracemalloc, I can see that
/usr/lib/python3.8/threading.py:908 keeps allocating memory.
I have tested this with python 3.8.0 from ubuntu 16.04 repository and python 3.8.1 from source. Both versions suffers from the memory consumption issue. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2020年01月03日 15:32:28 | mneerup | set | recipients:
+ mneerup |
| 2020年01月03日 15:32:28 | mneerup | set | messageid: <1578065548.82.0.563193246076.issue39201@roundup.psfhosted.org> |
| 2020年01月03日 15:32:28 | mneerup | link | issue39201 messages |
| 2020年01月03日 15:32:28 | mneerup | create |
|