Hi Everyone,

I'm curious - I have FLV files that are about 350 MB in size, the playing
time is about 90 minutes.  When I connect to Red5 and start streaming the
file, there is about a 30 second delay, and watching the memory on my
system (Debian - using the "vmstat 5" command) it's obvious that the
entire file is being read into memory.  Once it's there, playback,
seeking, and so forth works fine - it's fast and responsive.  However when
I disconnect, the file remains in memory.

My question: is it necessary for the entire file to be loaded into memory?
Why does it not instead try to read the data as it is needed from disk?
With about 2 GB of RAM, looking at more than three such similar files
quickly sucks up all the available memory and causes the thing to die.

I'm still using the 0.5 version - however on my Windows machine testing
the 0.6rc2 version, it appears that the same thing is happening.

Nathan



_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org

Reply via email to