Jeremy Blow added the comment:
Confirmed the problem is with Tk/MacOS. Running a simple TCL script yielded the
same behavior in terms of memory. The hunt goes elsewhere... Thank you R. David
for the suggestion.
```
package require Tk
while 1 {
update
}
```
# MacOS 10.9.4
/Users/jeremy$ /usr/bin/time -l tclsh update_loop.tcl
60.20 real 34.67 user 21.42 sys
18219008 maximum resident set size
0 average shared memory size
0 average unshared data size
0 average unshared stack size
5836 page reclaims
26 page faults
0 swaps
0 block input operations
9 block output operations
0 messages sent
0 messages received
0 signals received
830419 voluntary context switches
1663224 involuntary context switches
# MacOS 10.11.3
/Users/jeremy$ /usr/bin/time -l tclsh update_loop.tcl
60.44 real 39.06 user 21.45 sys
571715584 maximum resident set size
0 average shared memory size
0 average unshared data size
0 average unshared stack size
141633 page reclaims
0 page faults
0 swaps
0 block input operations
3 block output operations
0 messages sent
0 messages received
0 signals received
521744 voluntary context switches
1833399 involuntary context switches
----------
resolution: -> third party
status: open -> closed
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue27371>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com