Mar-14-2019, 09:41 AM
Quote:Why does garbage collection not start independently, but only after calling the collect() method?Python schedules garbage collection automatically. You don't have to call collect.
I've written many thousands of lines of python code, and haven't been concerned in the least about garbage collection.
It's always performed as stated and has never caused a problem for me.