Originally Posted by Tsurani
what exactly is garbage collection? in a non author explanation please
|
Any time an addon creates data, it uses up a little bit of memory. Once that data is no longer in use, it's considered "garbage" and the memory is reclaimed for future use. This reclaiming happens during garbage collection.
This is a slightly time-consuming process, so if an addon creates a lot of garbage, it can slow down the system.
(it was even worse before 2.0 because it used to do all the garbage collection at once when the memory usage approached a certain point. Now it collects garbage continuously a little bit at a time.)