2
I have experienced the following paradox many times, and I don't understand how it happens.
I open a big music/video file (say 100 MB), and when it starts playing, I delete it (permanently). In spite of this, the media player will be able to play the whole thing.
I guess it doesn't buffer the whole file at the beginning, because
- memory usage by the process is only 15 MB
- and that's not what media players do anyway.
So how does this happen?
But I use Windows... Wether I can delete it or not seems to depend on the file type. – Dave – 2013-02-11T20:29:30.093
2@Dave - see my revision - Windows has a way that (well behaved) programs can cause this to work correctly. – Michael Kohne – 2013-02-11T20:37:35.300
agreed, this is a side effect of thread/multi-process resource share. – Frank Thomas – 2013-02-11T21:08:49.627