Bug 1347174 - per comment 10, limit the readahead size to prevent cache thrashing.
MozReview-Commit-ID: Ellinh8JIYE
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -291,21 +291,21 @@ pref("mathml.disabled", false);
pref("mathml.scale_stretchy_operators.enabled", true);
pref("media.dormant-on-pause-timeout-ms", 5000);
// Media cache size in kilobytes
pref("media.cache_size", 512000);
// When a network connection is suspended, don't resume it until the
// amount of buffered data falls below this threshold (in seconds).
-pref("media.cache_resume_threshold", 999999);
+pref("media.cache_resume_threshold", 30);
// Stop reading ahead when our buffered data is this many seconds ahead
// of the current playback position. This limit can stop us from using arbitrary
// amounts of network bandwidth prefetching huge videos.
-pref("media.cache_readahead_limit", 999999);
+pref("media.cache_readahead_limit", 60);
// Master HTML5 media volume scale.
pref("media.volume_scale", "1.0");
// Timeout for wakelock release
pref("media.wakelock_timeout", 2000);
// Whether we should play videos opened in a "video document", i.e. videos