Opened 6 years ago

Closed 6 years ago

#10237 closed defect (fixed)

Media Cache is written on disk

Reported by: cypherpunks Owned by: mikeperry
Priority: High Milestone:
Component: TorBrowserButton Version:
Severity: Keywords: tbb-disk-leak, tbb-3.0, tbb-testcase, tbb-pref, MikePerry201402R
Cc: gk Actual Points:
Parent ID: Points:
Reviewer: Sponsor:


I realized that on the Tor Browser 3.0 beta and rc1, media cache such as youtube videos are being written on the disk, in the following file:


After watching several videos, the file became so big (hundreds of MB) that it fulled up my disk.

I tested this on Windows XP and 7

Child Tickets

Change History (9)

comment:1 Changed 6 years ago by gk

Cc: gk added

comment:2 Changed 6 years ago by mikeperry

Keywords: tbb-disk-leak added

comment:3 Changed 6 years ago by arma

Keywords: tbb-3.0 added

comment:4 Changed 6 years ago by gk

Although the location moved in Firefox 24 to a temporary folder there seems no obvious way to keep a cache in RAM (which might be understandable given the scarce RAM capacity compared to disc capacity). If we don't want to bind this cache to RAM we might try disabling the cache with 'media.cache-size' set to '0'.

comment:5 Changed 6 years ago by gk

Keywords: tbb-testcase added

comment:6 Changed 6 years ago by mikeperry

Keywords: tbb-pref added

Hrmm.. At some point we should check to see how playback is affected by the lack of a cache. I wonder if it makes it even more annoying to seek around in videos, or to replay a video you've just seen.

comment:7 Changed 6 years ago by mikeperry

Keywords: MikePerry201401R added

Eh, I guess I'll watch some youtube videos at some point this month.

comment:8 Changed 6 years ago by mikeperry

Keywords: MikePerry201402R added; MikePerry201401R removed

comment:9 Changed 6 years ago by mikeperry

Resolution: fixed
Status: newclosed

Ok, this doesn't appear to affect seeking or pausing in HTML5 youtube videos. I set it in our default prefs file. This should appear soon in a nightly at, and will also be in 3.6-beta-1, and a 3.5 release after that.

Note: See TracTickets for help on using tickets.