为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Why do I have profiles duplicated under both Roaming and Local?

  • 11 个回答
  • 10 人有此问题
  • 5 次查看
  • 最后回复者为 agupte

more options

In my %Appdata%\Local\Mozilla\Firefox folder I have a Profiles directory of 5.1GB In my %Appdata%\Roaming\Mozilla\Firefox folder I have a Profiles directory of 13.4GB

Can I get rid of one of them? It seems they might be duplicated.

Also, how can I reduce the size of these profile directories? The space is mainly taken up by the cache2 directory under each profile. I tried deleting files from there, but that destroys all the history and saved form fields etc. How can I selectively delete stuff to reduce the footprint?

If it can be done by wiring some code, I am willing to do that.

In my %Appdata%\Local\Mozilla\Firefox folder I have a Profiles directory of 5.1GB In my %Appdata%\Roaming\Mozilla\Firefox folder I have a Profiles directory of 13.4GB Can I get rid of one of them? It seems they might be duplicated. Also, how can I reduce the size of these profile directories? The space is mainly taken up by the cache2 directory under each profile. I tried deleting files from there, but that destroys all the history and saved form fields etc. How can I selectively delete stuff to reduce the footprint? If it can be done by wiring some code, I am willing to do that.

所有回复 (11)

more options

Not duplicates, but different types of data is stored in those two locations.

"Roaming" is the primary folder with your actual Profile. "Local" is a secondary location which contains the Cache, 'fast load', and other files, as you have learned.

There are a few preferences to limit the size of the cache, but I am not familiar with the current prefs and all my references are a few years old. Someone else will need to answer that for you.

more options

@the-edmeister Thanx for answering one of my questions.

more options

Empty Cache Button {web link} Cache clearing made easy. One click.


Firefox can be set up to purge certain things when it closes. Type about:preferences#privacy<enter> in the address bar.

The button next to History, select Use Custom Settings.

Turn off Always use private browsing mode Turn on Remember my browsing and download history At the bottom of the page, turn on Clear History When Firefox Closes. At the far right, press the Settings button. Turn on ONLY Cache and Form And Search History leaving the others off.

more options

The cache2 folder should only be under AppData\Local and not under AppData\Roaming where the main profile resides. The cache2 folder should only be about 1 GB or less. There is also the safebrowsing and the thumbnail cache (about:newtab) in that location.

Is the profile folder under AppData\Roaming actually 13 GB?

What folder(s) are taking up that much space?

Is that the storage folder or one of the other folder like the bookmarkbackups or sessionstore-backups folder?

more options

%appdata%\Local\Mozilla\Firefox\Profiles is 340MB %appData%\Roaming\Mozilla\Firefox\Profiles is 3.8GB

So, the duplication issue is not as bad as I thought. However, I do want to reduce the 3.8GB (there are three other profiles about the same size). So yes, the Roaming Profiles are 13+GB.

I don't want to do a blanket removal, because it will lose my history especially the form field autocompletes are really important to me. The biggest folder in there is the cache2 folder (3.6GB) so I tried clearing the cache from Advanced Preferences, but that didn't do anything.

My "web content cache" is using only 350MB of space and my "application cache" is using 1.7MB. So, why is it so big and how do I reduce the size of this profile?

由agupte于修改

more options

Do you mean that you have a cache2 folder in AppData\Roaming?

  • %appData%\Roaming\Mozilla\Firefox\Profiles is 3.8GB

What folders do you have in that location?

more options

%appData%\Roaming\Mozilla\Firefox\Profiles is 13.3GB

%appData%\Roaming\Mozilla\Firefox\Profiles\AG is 3.77GB

"AG" is one of the profiles that its directory contains: bookmarkbackups cache2 colorzilla crashes datareporting evernoteclips extensions firebug gmp gmp-eme-adobe gmp-gmpopenh264 healthreport jetpack jumpListCache minidumps safebrowsing saved-telemetry-pings searchplugins sessionstore-backups storage thumbnails weave webapps

The cache2 directory (#2 in list above) under this profile is 3.57GB

由agupte于修改

more options

You can remove any cache2 folder in a Firefox profile folder in AppData\Roaming as this folder shouldn't be there, but should only be in AppData\Local.

Did you check what folder(s) take up most of that disk space?

more options

Under cache2 in Roaming, I have two folders - "doomed" and "entries". It is the entries folder that has 163,607 items and occupies 3.57GB.

more options

What are the time stamps of the files in the cache2 entries folder (recent or old)?

You can remove these cache2 folders to see if they stay away.

You aren't relocating the cache?

more options

Sorry for the delay in responding. Had to get a project out.

All the entries are fairly recent, but that may be because I created this profile by copying another profile, so the date & time reflect the date of the copy.

I deleted files from the cache from the original profile and found that I had been logged out of sites where I was logged in previously. So, I don't want to delete the cache, off the bat.