Thank you 3ventic and DallasNChains. I’m reusing the players now instead of creating new ones. Memory usage isn’t exploding anymore. It’s still high and hopefully can be improved in the future but this is already a great improvement. Thank you for your help.