I have noticed that if you continuously replace old pyglet batches with new ones it appears to create circular references that won't get freed unless you force collect them using gc.collect(). Maybe I'm just doing something dumb?
See example here: https://gist.github.com/spillz/088b7b5ec0ddc4f16eb2 (I'm not creating batches as frequently as this in my application code, but the batches that I am creating and deleting are pretty big and the leaks quickly add up. Calling gc.collect() results in significant slowdowns) -- You received this message because you are subscribed to the Google Groups "pyglet-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyglet-users. For more options, visit https://groups.google.com/d/optout.
