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

搜索 | 用户支持

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

详细了解

Thunderbird wants to compact my whole disk

  • 8 个回答
  • 1 人有此问题
  • 13 次查看
  • 最后回复者为 logihue

more options

Thunderbird at some point started increasing the size of the folders that are to be compacted. It used to be around 60MB of space that will be freed. Every time it asked me it increased the size. Now it maxed out at 254GB which is the size of my disk...It does this at every restart of the program. I'm afraid that if i click it, it will delete some of my personal files too.

Thunderbird at some point started increasing the size of the folders that are to be compacted. It used to be around 60MB of space that will be freed. Every time it asked me it increased the size. Now it maxed out at 254GB which is the size of my disk...It does this at every restart of the program. I'm afraid that if i click it, it will delete some of my personal files too.

被采纳的解决方案

so far, it has been asking me for normal amounts of compacting like 20-60MB at most everytime I start thunderbird. So the solution was just to let it compact, but it was done trough the menu.

定位到答案原位置 👍 0

所有回复 (8)

more options

this is a screenshot, im running xubuntu 16.04 linux, latest stable release

more options

75.5GB is quite a large amount. This sounds like you have either set a very high auto compacting level or you have not been compacting folders.

When TB needs to compact a folder, it first creates a copy of that folder. So if you are compacting all folders, maybe that is why alot of space is being used.

Suggestion in your particular case to get past the need to compact all folders at once: First: If there is any corruption in any of those huge text files, you could lose emails, so before compacting, create a backup copy of your thunderbird profile name folder. Basically ...exit Thunderbird and copy the '.thunderbird' or '.mozilla-thunderbird' folder that contains the 'profile name' folder to an external disk drive.


then start thunderbird and Compact one folder at a time.

  • right click on folder and select 'Compact'.


Compacting removes hidden marked as deleted emails from mbox files which cleans up the file and reduces file size. The most common files that require this on a more frequent basis are Inbox, Drafts and Junk. If you auto filter emails then those specific folders may also get a load of deletions. I delete several emails each day and so manually compact those folders get get a lot of deletions at the end of each working day.

IMAP accounts can be set to compact (Expunge) on exit.

  • Account Settings > Server Settings for imap mail account.
  • select 'Clean up (Expunge) Inbox on exit'.
  • click on 'OK'

If you want to use the auto compacting then I would suggest you set a much smaller size eg: 10MB or 20MB Frequent compacting is a better option.

  • Edit > Preferences > Advanced > 'Network & Disc space' tab
  • select 'Compact all folders when it will save over '10' MB in total'
  • click on 'OK'

Good info:

more options

Toad-Hall said

75.5GB is quite a large amount. This sounds like you have either set a very high auto compacting level or you have not been compacting folders. When TB needs to compact a folder, it first creates a copy of that folder. So if you are compacting all folders, maybe that is why alot of space is being used. Suggestion in your particular case to get past the need to compact all folders at once: First: If there is any corruption in any of those huge text files, you could lose emails, so before compacting, create a backup copy of your thunderbird profile name folder. Basically ...exit Thunderbird and copy the '.thunderbird' or '.mozilla-thunderbird' folder that contains the 'profile name' folder to an external disk drive. then start thunderbird and Compact one folder at a time.
  • right click on folder and select 'Compact'.
Compacting removes hidden marked as deleted emails from mbox files which cleans up the file and reduces file size. The most common files that require this on a more frequent basis are Inbox, Drafts and Junk. If you auto filter emails then those specific folders may also get a load of deletions. I delete several emails each day and so manually compact those folders get get a lot of deletions at the end of each working day. IMAP accounts can be set to compact (Expunge) on exit.
  • Account Settings > Server Settings for imap mail account.
  • select 'Clean up (Expunge) Inbox on exit'.
  • click on 'OK'
If you want to use the auto compacting then I would suggest you set a much smaller size eg: 10MB or 20MB Frequent compacting is a better option.
  • Edit > Preferences > Advanced > 'Network & Disc space' tab
  • select 'Compact all folders when it will save over '10' MB in total'
  • click on 'OK'
Good info:

I'm sorry but that did not work. I tried everything you have mentioned but thank you for writing it out. The whole .thunderbird folder takes up about 7GB, which is not much. The problem is that thunderbird is now saying it wants to compact and "save" 254GB of space which is obviously the wrong number. My whole disk is the size of 256GB.

more options

Ive clicked compact again in the File>compact and got the next message.

more options

Older Thunderbird versions had issues with the compact message being wrong. What version are you running?

more options

Airmail said

Older Thunderbird versions had issues with the compact message being wrong. What version are you running?

60.2.1 (64-bit)

more options

When i clicked compact and got the message above, stating that it compacted 233GB it stopped asking me now. I also disabled "Messaging Menu and Unity Launcher integration" just in case, becuase that was the only extension active.

more options

选择的解决方案

so far, it has been asking me for normal amounts of compacting like 20-60MB at most everytime I start thunderbird. So the solution was just to let it compact, but it was done trough the menu.