Thunderbird:Testing:Memory Usage Problems: Difference between revisions

m
add windows update process
(→‎Diagnosis Steps: add step of "work offline", and move the interval check and other steps under it)
m (add windows update process)
Line 2: Line 2:
Slowness or high memory usage in Thunderbird can be frustrating.  
Slowness or high memory usage in Thunderbird can be frustrating.  


'''To fix slowness, you must do some investigation, because we must eliminate impacts that may be coming from <u>your</u> environment. Thunderbird can be impacted by CPU, memory and disk activity from other sources, therefore multiple causes are possible which are listed below, so please investigate the full list.
'''To fix slowness, you must do some investigation to eliminate impacts that may be coming from <u>your</u> environment, because Thunderbird can be impacted by CPU, memory and disk activity from other sources.  Multiple possible causes are listed below, so please investigate the full list - which is simple when done one step at a time.'''  
 
This list may look complicated, but it is simple when taken a step at a time. Then provide detailed results from this list in a support forum or bug report.'''  


= Diagnosis Steps  =
= Diagnosis Steps  =
'''Before you begin diagnosing''':
'''Before you begin diagnosing''':
* '''Some steps are <u>temporary</u> *tests*, not a suggestion to forever disable a feature.''' So please do not to skip any steps like disabling of antivirus. <u>All steps</u> are essential to a full diagnosis.  
* '''Some steps are <u>temporary</u> *tests*, not a suggestion to forever disable a feature.''' So please do not to skip any steps like disabling of antivirus. <u>All steps</u> are essential to a full diagnosis.  
* '''Do not delete files.''' "Bad files" can be useful for future diagnosis. Rename or move files instead of deleting.
* '''Do not delete files.''' "Bad files" can help developers solve problems. Please rename or move files instead of deleting.


'''Fully describe your problem, clearly but in as few words as possible, in a [https://support.mozilla.org/products/thunderbird support forum], [[Thunderbird:Testing:Memory_Usage_Problems#References|existing bug]] or [https://bugzilla.mozilla.org/enter_bug.cgi?product=Thunderbird&format=guided new bug report] and ...:
'''After diagnosing - Fully describe your problem, clearly but in as few words as possible, in a [https://support.mozilla.org/products/thunderbird support forum], [[Thunderbird:Testing:Memory_Usage_Problems#References|existing bug]] or [https://bugzilla.mozilla.org/enter_bug.cgi?product=Thunderbird&format=guided new bug report] and ...:
* use numbers <small>(not adjectives like fast/slow, small/large)</small> - for example cpu percentage, amount of memory, number of folders and messages
* use numbers <small>(not adjectives like fast/slow, small/large)</small> - for example cpu percentage, amount of memory, number of folders and messages
* precisely state when behavior occurs (startup, shutdown, or "normal operation"), and every step in the process to reproduce
* precisely state when behavior occurs (startup, shutdown, or "normal operation"), and every step in the process to reproduce
Line 26: Line 24:
#Is Thunderbird better with OS started in safe mode?  Instructions: [https://support.microsoft.com/en-us/help/12376/windows-10-start-your-pc-in-safe-mode win10], [https://support.microsoft.com/en-us/help/17076/windows-8-startup-settings-safe-mode win8], [https://support.microsoft.com/en-us/help/17419/windows-7-advanced-startup-options-safe-mode#start-computer-safe-mode=windows-7 win7], [https://support.apple.com/kb/PH25617?locale=en_US MacOS]. If performance is improved in safe mode, then  
#Is Thunderbird better with OS started in safe mode?  Instructions: [https://support.microsoft.com/en-us/help/12376/windows-10-start-your-pc-in-safe-mode win10], [https://support.microsoft.com/en-us/help/17076/windows-8-startup-settings-safe-mode win8], [https://support.microsoft.com/en-us/help/17419/windows-7-advanced-startup-options-safe-mode#start-computer-safe-mode=windows-7 win7], [https://support.apple.com/kb/PH25617?locale=en_US MacOS]. If performance is improved in safe mode, then  
#* check that you have the newest version of AV/firewall software, and check with vendor's support site  
#* check that you have the newest version of AV/firewall software, and check with vendor's support site  
#* test with antivirus disabled or removed (note, disabled can be an unreliable test). See also [[Thunderbird:Testing:Antivirus Related Performance Issues|AV performance issues]] for settings and information which may help.  
#* test with antivirus disabled or removed (because disabling isn't always reliable). See also [[Thunderbird:Testing:Antivirus Related Performance Issues|AV performance issues]] for settings and information which may help.  
#* on Windows, especially Windows 10, try disabling MS-Windows Search (see next numbered item below)
#* on Windows, especially Windows 10, try disabling MS-Windows Search (see next numbered item below)
#* test with firewall disabled or removed <small>[https://support.mozilla.org/en-US/questions/1133857 Ad-Aware example]</small>  
#* test with firewall disabled or removed <small>[https://support.mozilla.org/en-US/questions/1133857 Ad-Aware example]</small>  
Line 39: Line 37:
#If you have gmail accounts, is problem gone after [http://kb.mozillazine.org/Using_Gmail_with_Thunderbird_and_Mozilla_Suite#Subscriptions unsubscribing the "All Mail" folder]?  
#If you have gmail accounts, is problem gone after [http://kb.mozillazine.org/Using_Gmail_with_Thunderbird_and_Mozilla_Suite#Subscriptions unsubscribing the "All Mail" folder]?  
# On Windows, did you move the Thunderbird profile or any Thunderbird account from the default location "[https://www.nextofwindows.com/how-to-access-user-profiles-appdata-folder-the-easiest-way-in-windows-7 %APPDATA%]" to a different Windows directory?  If yes, then MS-Windows Search will [https://bugzilla.mozilla.org/show_bug.cgi?id=1083233 attempt to index all Thunderbird disk activity]. [http://www.sevenforums.com/general-discussion/215354-how-prevent-showing-search-results-drive-folder.html#post1805728 Disable Windows indexing for your Thunderbird data].
# On Windows, did you move the Thunderbird profile or any Thunderbird account from the default location "[https://www.nextofwindows.com/how-to-access-user-profiles-appdata-folder-the-easiest-way-in-windows-7 %APPDATA%]" to a different Windows directory?  If yes, then MS-Windows Search will [https://bugzilla.mozilla.org/show_bug.cgi?id=1083233 attempt to index all Thunderbird disk activity]. [http://www.sevenforums.com/general-discussion/215354-how-prevent-showing-search-results-drive-folder.html#post1805728 Disable Windows indexing for your Thunderbird data].
#If you have newsgroup accounts, then in Account Settings|Server Settings disable "Check for new messages at startup". <small>If problem is gone you may be seeing [https://groups.google.com/d/msg/mozilla.support.thunderbird/_6yvdz0de9g/9KJVVBqIAwAJ many newsgroups with many unread messages], {{bug|185634}}, {{Bug|541001}}, or [http://forums.mozillazine.org/viewtopic.php?p=9900989&sid=e32e1e42a3ddcac8c8605a1cbea6b2e8#p9900989].</small>
#If [[Memory Overview|Thunderbird memory usage is more than expected]] by hundreds of megabytes (MB), then perhaps one or more folders (internally a database) are not being closed, or some other bug. Please :  
#If [[Memory Overview|Thunderbird memory usage is more than expected]] by hundreds of megabytes (MB), then perhaps one or more folders (internally a database) are not being closed, or some other bug. Please :  
#*Get a diagnostic log of Thunderbird activity with '''MSGDB:5,timestamp''' using [[MailNews:Logging|logging instructions]]. <!-- You must install and use [ftp://ftp.mozilla.org/pub/thunderbird/nightly/latest-comm-1.9.2/ a 3.1beta build appropriate to your OS]  [http://s3.mozillamessaging.com/build/try-server/list.html tryserver build] appropriate to your platform that includes ''010-01-14_08:10-bienvenu@nventure.com-1263484981/bienvenu@nventure.com-1263484981-mail-try'' in the name -->  
#*Get a diagnostic log of Thunderbird activity with '''MSGDB:5,timestamp''' using [[MailNews:Logging|logging instructions]]. <!-- You must install and use [ftp://ftp.mozilla.org/pub/thunderbird/nightly/latest-comm-1.9.2/ a 3.1beta build appropriate to your OS]  [http://s3.mozillamessaging.com/build/try-server/list.html tryserver build] appropriate to your platform that includes ''010-01-14_08:10-bienvenu@nventure.com-1263484981/bienvenu@nventure.com-1263484981-mail-try'' in the name -->  
Line 61: Line 58:
#If error message indicates a script problem (ex. "Unresponsive Script"), please set javascript.options.mem.log to true and provide a couple log entries of the form <small> CC(T+1186.6) collected: 131 (131 waiting for GC), suspected: 98, duration: 274 ms.</small>
#If error message indicates a script problem (ex. "Unresponsive Script"), please set javascript.options.mem.log to true and provide a couple log entries of the form <small> CC(T+1186.6) collected: 131 (131 waiting for GC), suspected: 98, duration: 274 ms.</small>
#* Has a proxy ever been defined, and is it working correctly or was the proxy removed?  (A proxy can cause "Unresponsive script")
#* Has a proxy ever been defined, and is it working correctly or was the proxy removed?  (A proxy can cause "Unresponsive script")
#If using high CPU, check to see if mozilla updater.exe is running in taskmgr [http://forums.mozillazine.org/viewtopic.php?p=12641015#p12641015]
#If using high CPU, check taskmgr to see if [http://forums.mozillazine.org/viewtopic.php?p=12641015#p12641015 mozilla updater.exe] or Window's update process is running.
#Is your '''[https://support.mozilla.org/en-US/kb/profiles-tb Thunderbird profile]''' or any part of Thunderbird on a non-local hard drive, i.e. a "special" drive or mount point? If yes, does it preform better when it is moved to the local disk?
#Is your '''[https://support.mozilla.org/en-US/kb/profiles-tb Thunderbird profile]''' or any part of Thunderbird on a non-local hard drive, i.e. a "special" drive or mount point? If yes, does it preform better when it is moved to the local disk?
#* USB drive? USB is slower compared to a local disk. Some are terrible. [http://portableapps.com/shop/hardware Make sure you've got a good one.]
#* USB drive? USB is slower compared to a local disk. Some are terrible. [http://portableapps.com/shop/hardware Make sure you've got a good one.]
Line 70: Line 67:
#* in Windows you want at least 20% free disk space and do defrags
#* in Windows you want at least 20% free disk space and do defrags
#* check whether any OS or application update process is in progress, for example [https://support.mozilla.org/en-US/questions/1226979 Windows update]
#* check whether any OS or application update process is in progress, for example [https://support.mozilla.org/en-US/questions/1226979 Windows update]
#If you have newsgroup accounts, then in Account Settings|Server Settings disable "Check for new messages at startup". <small>If problem is gone you may be seeing [https://groups.google.com/d/msg/mozilla.support.thunderbird/_6yvdz0de9g/9KJVVBqIAwAJ many newsgroups with many unread messages], {{bug|185634}}, {{Bug|541001}}, or [http://forums.mozillazine.org/viewtopic.php?p=9900989&sid=e32e1e42a3ddcac8c8605a1cbea6b2e8#p9900989].</small>
#If you have RSS news reader account, in Account Settings|Server Settings disable "Check for new messages at startup". <small>If problem is gone you may be seeing something like {{Bug|551144}} (fixed in version 13).</small>  
#If you have RSS news reader account, in Account Settings|Server Settings disable "Check for new messages at startup". <small>If problem is gone you may be seeing something like {{Bug|551144}} (fixed in version 13).</small>  
# Any Outlook or Hotmail accounts? {{Bug|1355885}}
# Any Outlook or Hotmail accounts? {{Bug|1355885}}
canmove, Confirmed users
2,211

edits