Memory leaks with Socket and Loader

Hi,

I wrote a flash app that connects to a server ( with Socket() ) which sends out packets of binary data which represent jpeg images that form a video stream ( about 6 images/second ). I then store this data into a ByteArray and load it with Loader.loadBytes(). I works really great with one exception: it leaks memory horribly. I can’t figure out exactly why it’s leaking. I have read up a lot on Flash garbage collection, but I can’t seem to find the problem.

Thanks!