ByteTrack icon indicating copy to clipboard operation
ByteTrack copied to clipboard

Fix memory leak in ByteTracker

Open sr99622 opened this issue 3 years ago • 1 comments

Problem with ByteTracker during long running process. Virtual memory is consumed in same manner as memory leak. This is due to the self.removed_stracks list member variable growing without bound. The issue may be fixed by removing stale tracks from the self.removed_stracks list. A limit is placed such that tracks older than 10 * self.max_time_lost are removed from the self.removed_stracks list. This change had no discernible effect on the algorithm.

sr99622 avatar Jul 27 '22 12:07 sr99622

Thanks!

Vladimir-125 avatar Jun 29 '23 02:06 Vladimir-125