I am having a similar problem and would like to know if anyone found a solution 
to this problem. I am using a similar batching concept with a kdtree. Each node 
has a batch associated with it. Only the batches inside the frustum are drawn. 
Migrating a vertexlist from a batch to another leaks a chunk of memory 
proportional to the size of the list. This should be a problem for the 
sprite.Sprite class buts it's probably unnoticeable because only 4 vertices are 
migrated. I would be curious to know if anyone tried migrating a vertexlist to 
another batch or changing groups repeatedly and has had memory issues.

Denis

-- 
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.

Reply via email to