Main Profile - Storage - Temporary Folder has grown to 4GB. How can i fix this?
Been cleaning up my PC and noticed I'd lost a large amount of space on my C drive. Using WinDirStat to get a listing of disk space usage I noticed that my Mozilla/Firefox/Profiles/XXXX/storage/temporary folder had grown to 4GB!
Inside this folder are countless folders mostly starting like 'file++++I++Projects2015+WebGL_Builds+index.html'. Inside which is a folder called 'asmjs' that contains a number of 'module' files.
Its clear to me that most ( over 95% ) of the space used here is from running Unity's webgl builds of various test projects I've made over the last year or so. So this is obviously some form of cache or maybe a local store of pre-compiled/optimised js of the webgl Unity projects ( games etc).
The problem is clearly that these files are not getting cleared and are anything but temporary. As far as I can tell there is no means to control the overall size of this folder, or to clear it. At 4GB its taking up 1/16th of my C drive, so its space I cannot afford to lose.
I have tried clearing all caches Firefox provides access to, i've cleared history and other storage. I've investigated IndexedDB, local storage, session storage but all were dead ends. I've made several google searches but found almost nothing on this or any useful information.
I'd be very grateful to learn how to
1. Control the size of this folder 2. Delete all the content from this folder, besides simply deleting via the Windows explorer.
In addition what is the best method to report this to Mozilla, as it seems obvious to me that being unable to control or that this folder can grow to 4GB so easily that there is an problem here that needs to be addressed.
Thanks
All Replies (3)
This article should give at least some information. https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API
christ1 said
This article should give at least some information. https://developer.mozilla.org/en-US/docs/Web/API/IndexedDB_API
Thanks for that. I think i'd read it before, but re-reading I noticed a few points i'd missed. So it does seem like this is the responsible factor.
However there are several issues.
Firstly I do not get an alert when a page wants to store more than 50MB. I wonder if this might be related to it being that the page is run locally?
Secondly that there is no way to clear this data from Firefox or set any upper limits to prevent 4GB+ getting used. I had enabled the developer features so I could examine IndexedDB storage and other items, but as the majority of these files related to local content from testing, those files/pages no longer exist. So even if there is a method per page to remove the data, that is no longer an option.
Checking the data I see this has been going on for over 6 months which is worrying. Webgl is going to rapidly grow in the future and if Firefox happily eats up ones harddrive there will be a large number of unhappy users. So I wonder how I can bring this issue to the attention of Mozilla?
You can go to the Firefox Help menu and select Submit Feedback. Or go to https://input.mozilla.org/en-US/feedback directly.