mantidimaging.core.utility.leak_tracker module#
- class mantidimaging.core.utility.leak_tracker.ItemInfo(ref, msg, created)[source]#
Bases:
NamedTuple
- ref: ReferenceType#
Alias for field number 0
- class mantidimaging.core.utility.leak_tracker.LeakTracker[source]#
Bases:
object
Track object to debug why large objects are still referenced.
All objects of interest should be added in their constructor. The pretty_print() method can be called later, so see some information about which of the objects are alive.