[Red5devs] Memory leakage
hutx
hutx at yahoo.com
Wed Jun 25 09:56:34 PDT 2008
Yes, I traced it by NetBeans Profiler.
The byte[] encoded is put in Map stringCache. But no
place to remove it from stringCache.
Thanks a lot!
--- Daniel Rossi <spam at electroteque.org> wrote:
> Is that the cause of it growing ?
>
> On 26/06/2008, at 2:40 AM, hutx wrote:
>
> >
> > Recently, I tried to develop an application.
> However,
> > I met a memory leak.
> >
> > org.red5.server.stream.PlaylistSubscriberStream
> > $PlayEngine.sendStartStatus()
> > org.red5.server.stream.PlaylistSubscriberStream
> > $PlayEngine.sendResetStatus()
> > org.red5.server.stream.PlaylistSubscriberStream
> > $PlayEngine.sendUnpublishedStatus()
> >
> > These functions invoke
> > org.red5.io.amf.Output.writeString(String str).
> >
> > The str is put a HashedMap. But no place removes
> the
> > str from HasedMap. Finally, it causes the memory
> > leakage.
> >
> > How to solve it?
> > Thanks a lot.
> > Sean
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > Red5devs mailing list
> > Red5devs at osflash.org
> >
>
http://osflash.org/mailman/listinfo/red5devs_osflash.org
>
>
> _______________________________________________
> Red5devs mailing list
> Red5devs at osflash.org
>
http://osflash.org/mailman/listinfo/red5devs_osflash.org
>
More information about the Red5devs
mailing list