[Red5devs] Memory leakage

hutx hutx at yahoo.com
Wed Jun 25 09:40:02 PDT 2008


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





      



More information about the Red5devs mailing list