By default, Firefox stores it’s profile cache in "C:\Documents and Settings\yourusername\Application Data\Mozilla\Firefox\Profiles"
. This can be problematic when using roaming profiles with a limited amount of profile storage space due to quotas. As you add extensions, it grows even bigger. This is a big problem in XenApp/XenDesktop/View and other VDI environments using roaming profiles. You’ll soon start getting errors saying you are almost out of profile storage space or that you have exceeded your profile storage space. Something like this (note I just grabbed this screenshot from a Google Image Search, you would normally see a bunch of Mozilla Firefox related files in there eating up the space):
The solution is to move the profile out of the user folder and into another local folder or onto a network drive/home folder, thus reclaiming the profile storage space. For example, I created "c:\FireFoxProfile"
to house the profile. Here is what you need to do to begin using this folder:
1. Edit "C:\Documents and Settings\yourusername\Application Data\Mozilla\Firefox\profiles.ini"
in Notepad and change:
IsRelative=1
to
IsRelative=0
What this does is allow you to use an explicit path that you specify for the profile.
2. Change the next line from:
Path=Profiles/xxxxxxx.default
to
Path=c:\FireFoxProfile\xxxxxxx.default
3. Save profile.ini and restart Firefox. You will notice that immediately, the new profile folder is populated. Keep in mind when you open Firefox for the first time, it will be like a brand new install and you will lose all of your bookmarks, extensions, customizations, etc. unless you restore them from the old path.
4. You can delete everything in your old profile path once you have Firefox working in the new profile path. This will immediately reclaim your roaming profile storage space.
NOTE: If deploying to the entire corporation, there are other methods to centrally manage Firefox and control the deployment. This solution is good for the one off users though.
Andrew Newey
April 7, 2013 at 11:45 PM
Awesome Jason. Was sick of cleaning out my cache. Will try moving profile out of this standard folder to fix my space probs. Cheers!