Message270550
There seems to be a memory leak in tkinter on OSX (Windows and Linux don't seem to be affected). Explicitly calling Tk.update() sometimes permanently allocates a multiple of 4096 bytes. Allocation happens more frequently if update calls are in close succession.
import time
from tkinter import Tk
root = Tk()
while True:
root.update() # Huge memory leak
while True:
root.update() # No memory leaks
time.sleep(1)
Issue occurs on python3.3 and above, did not test on older versions. |
|
Date |
User |
Action |
Args |
2016-07-16 08:59:54 | Mirano Tuk | set | recipients:
+ Mirano Tuk, ronaldoussoren, ned.deily |
2016-07-16 08:59:54 | Mirano Tuk | set | messageid: <1468659594.57.0.874170107699.issue27529@psf.upfronthosting.co.za> |
2016-07-16 08:59:54 | Mirano Tuk | link | issue27529 messages |
2016-07-16 08:59:54 | Mirano Tuk | create | |
|