I looked into this far enough to verify that the memory leak shows up on
the two versions of Windows I tried (XP and 7), but not any of the other
operating systems.  So the bug appears to be windows-specific.

I reported more details here:

https://code.google.com/p/pyglet/issues/detail?id=476

I'll take a look at the windows-specific stuff and see if I see anything
glaringly obvious, but I have yet to figure out Pyglet's clever
circular-importing trickery, and I don't know anything about Windows APIs,
so I'll be lucky if I stumble onto the problem.

~ Nathan


On Tue, Jan 8, 2013 at 2:01 AM, Wilco Schoneveld <[email protected]>wrote:

> Hello All,
>
> I am creating an application where new text is constantly required
> and which is supposed to run for a couple of hours. (twitterwall)
>
> I have observed memory leakage, and narrowed it down to the labels.
>
> An old topic of 2010 also noted this issue;
> https://groups.google.com/d/topic/pyglet-users/ix1HQLFbKLQ/discussion
>
> In my code I reuse pyglet Labels with only 1 line of code.
>
> > label.text = "new text"
>
> unfortunately this is not enough to prevent memory leaking (especially
> with multiline = True)
>
> I also tried creating new labels and deleting old ones, to no avail
>
> Could anyone help me out? Other ways of displaying text are welcome!
>
> Thanks in advance,
> Wilco
>
> --
> You received this message because you are subscribed to the Google Groups
> "pyglet-users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/pyglet-users/-/wvad4aj6LXAJ.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/pyglet-users?hl=en.
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to