Although it sounds counter-intuitive, open the media player's preferences, options or settings and then minimize the buffer size for streaming video.
In the operating system preferences, set the virtual memory to a high value.