﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
770	Memory leak on windows with any model open, 40 Mb / minute	Tom Goddard	Eric Pettersen	"On WIndows with any model (tested PDB, mol2, density map) open ChimeraX daily build from July 27, 2017 consumes memory, about 40 Mb / minute, when the application is shown but with no mouse or keyboard use (completely idle).  The memory leak does not happen on Mac.  I think Conrad saw this a month ago. Even after closing all open models the memory continues to leak.

Ryan Wong (intern) found this bug and we determined it is caused by

   atomic.check_for_changes()

in src/core/atomic/changes.py being called from the graphics update (src/core/updateloop.py).  It appears part of the problem is that session.change_tracker.changed always returns True on Windows (even if no atomic models are open).  And then somehow creating the Changes object and invoking the ""changes"" trigger on every 1/60th second timer callback leaks the memory.  We did not investigate where that memory is leaked.
"	defect	closed	major	Alpha2	Core		fixed		suzuryu9000@… conrad@…				all	ChimeraX
