Message358936
when running the following script, we found python2 comsume a lot memory while python3 does not have the issue.
import re
import time
NON_PRINTABLE = re.compile(u'[^\U00010000-\U0010ffff]')
time.sleep( 30 )
python2:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6943 root 20 0 109956 93436 3956 S 0.0 1.2 0:00.30 python
python3:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
6952 root 20 0 28032 8880 4868 S 0.0 0.1 0:00.02 python3 |
|
Date |
User |
Action |
Args |
2019-12-28 09:20:29 | Zhipeng Xie | set | recipients:
+ Zhipeng Xie |
2019-12-28 09:20:29 | Zhipeng Xie | set | messageid: <1577524829.3.0.724432739165.issue39146@roundup.psfhosted.org> |
2019-12-28 09:20:29 | Zhipeng Xie | link | issue39146 messages |
2019-12-28 09:20:29 | Zhipeng Xie | create | |
|