Fix memory error caused by memory overflowing
When I was adding all my song to the data base yesterday, I always found memory error after several song was processed.
after checking the task manager, i found i got memory overflow when processing the song.
After doing some research, i come up with a solution.
By using del
and gc.collect()
after finish using a varible that takes lots of memory, the problem is successfully solved.