Performance - Thunderbird: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
No edit summary
 
m (link fixes)
Line 1: Line 1:
'''Problems'''
'''Problems'''


Most performance problems are due to not [http://kb.mozillazine.org/Compacting_folders compacting] the inbox folder often enough. Deleted messages aren't physically deleted until the folder is compacted, they are merely hidden from view and marked for deletion. This means it might be loading a 1GB file when it displays a inbox folder that appears to have 50KB of messages.
Most performance problems are due to not [[Compacting folders | compacting]] the inbox folder often enough. Deleted messages aren't physically deleted until the folder is compacted, they are merely hidden from view and marked for deletion. This means it might be loading a 1GB file when it displays a inbox folder that appears to have 50KB of messages.


Thunderbird appears to parse the contents of the entire inbox folder when it fetches and stores new mail for POP accounts. If the folder contains messages with certain missing headers (typically due to SPAM or a corrupted folder) it can get caught in a loop. The workaround would be to move all of the inbox folders messages to another folder (where you can identify and delete the troublesome messages later on) and compact the inbox. Worst case you might need to copy the messages in your inbox to another folder, exit thunderbird, [http://kb.mozillazine.org/Backing_up_your_mail%2C_address_books%2C_and_settings backup] your profile, delete both the "inbox." and "inbox.msf" file for that account in your [http://kb.mozillazine.org/Profile_Folder profile] and then run Thunderbird again. It will create a new empty inbox folder if you do that.  
Thunderbird appears to parse the contents of the entire inbox folder when it fetches and stores new mail for POP accounts. If the folder contains messages with certain missing headers (typically due to SPAM or a corrupted folder) it can get caught in a loop. The workaround would be to move all of the inbox folders messages to another folder (where you can identify and delete the troublesome messages later on) and compact the inbox. Worst case you might need to copy the messages in your inbox to another folder, exit thunderbird, [[Profile backup | back up]] your profile, delete both the "inbox." and "inbox.msf" file for that account in your [[Profile folder | profile]] and then run Thunderbird again. It will create a new empty inbox folder if you do that.  


You might also defragment the drive and check that you have enough free memory that applications aren't being slowed down by constantly being moved to/from the swap file. You can decrease the amount of swapping by reducing the number of applications you're running and/or the number of programs in your system tray. It might also help to set the minimum and maximum size of the swap file to the same value.  
You might also defragment the drive and check that you have enough free memory that applications aren't being slowed down by constantly being moved to/from the swap file. You can decrease the amount of swapping by reducing the number of applications you're running and/or the number of programs in your system tray. It might also help to set the minimum and maximum size of the swap file to the same value.  


Thunderbird uses a xul.mfl file in the [http://kb.mozillazine.org/Profile_Folder profile] to cache some of the data for the user interface. This is supposed to increase performance but sometimes that can get corrupted/bloated, and make things worse. The workaround is to exit Thunderbird and delete that file. Thunderbird will create a new one the next time you run it.
Thunderbird uses a xul.mfl file in the [[Profile folder | profile]] to cache some of the data for the user interface. This is supposed to increase performance but sometimes that can get corrupted/bloated, and make things worse. The workaround is to exit Thunderbird and delete that file. Thunderbird will create a new one the next time you run it.


'''Why its slower than the competition'''
'''Why its slower than the competition'''
Line 21: Line 21:
==See also==
==See also==
* [http://www.mozilla.org/projects/xul/ XUL]
* [http://www.mozilla.org/projects/xul/ XUL]
* [http://kb.mozillazine.org/About:config_entries#Config..2A  config.trim_on_minimize setting]
* [[About:config_entries#Config..2A  | config.trim_on_minimize setting]]
[[Category:Issues (Thunderbird)]]
[[Category:Issues (Thunderbird)]]
[[Category:Thunderbird]]
[[Category:Thunderbird]]
[[Category:Configuration]]
[[Category:Configuration]]

Revision as of 03:18, 26 December 2005

Problems

Most performance problems are due to not compacting the inbox folder often enough. Deleted messages aren't physically deleted until the folder is compacted, they are merely hidden from view and marked for deletion. This means it might be loading a 1GB file when it displays a inbox folder that appears to have 50KB of messages.

Thunderbird appears to parse the contents of the entire inbox folder when it fetches and stores new mail for POP accounts. If the folder contains messages with certain missing headers (typically due to SPAM or a corrupted folder) it can get caught in a loop. The workaround would be to move all of the inbox folders messages to another folder (where you can identify and delete the troublesome messages later on) and compact the inbox. Worst case you might need to copy the messages in your inbox to another folder, exit thunderbird, back up your profile, delete both the "inbox." and "inbox.msf" file for that account in your profile and then run Thunderbird again. It will create a new empty inbox folder if you do that.

You might also defragment the drive and check that you have enough free memory that applications aren't being slowed down by constantly being moved to/from the swap file. You can decrease the amount of swapping by reducing the number of applications you're running and/or the number of programs in your system tray. It might also help to set the minimum and maximum size of the swap file to the same value.

Thunderbird uses a xul.mfl file in the profile to cache some of the data for the user interface. This is supposed to increase performance but sometimes that can get corrupted/bloated, and make things worse. The workaround is to exit Thunderbird and delete that file. Thunderbird will create a new one the next time you run it.

Why its slower than the competition

Many windows email clients call the operating system (win32 API) to display the GUI, or call some wrapper that adds no significant overhead. Thunderbird uses XUL (Mozilla's XML-based User interface Language) to display its GUI. This decreases performance but it allows users to write XUL extensions to extend the functionality, rather than having to write traditional plug-ins or ActiveX controls. There are over a hundred extensions available, most written by users.

Tweaking

There is a project to preload Firefox but there doesn't appear to be an equivalent for Thunderbird yet.

With v1.5RC2 and later under Windows you can set config.trim_on_minimize to false to have Thunderbird free most of its memory when you minimize it.

See also