Firefox, Thunderbird Lagging? Lag Fix Inside

For the last days I have experienced lags and issues both in the Firefox web browser and the Thunderbird email client. With Thunderbird, I experienced lag that resulted in the Thunderbird window not responding for some time.
The window of the email program recovered after some time, so that I could access the program's functionality again.
With Firefox it is another issue. The browser just stops receiving traffic from the Internet as if it is blocked by a firewall or as if the Internet connection died. The only solution here so far was to restart the web browser.
David Bradley discovered a solution that fixed the Thunderbird lag issue, and probably the Firefox no traffic issue as well.
David mentioned frequent stutter or lag in the browser leading to the "not responding" message that can last for a few moments. This was the same behavior that I experienced in Thunderbird.
Fix lags in Thunderbird
The solution or fix here is to assign one specific core to the Firefox, or in my case Thunderbird, process. This obviously only works if a multi-core cpu is available.
Users who just want to test the setting can assign a specific core by opening the Windows Task Manager with Ctrl-Shift-Esc, right-clicking the firefox.exe or thunderbird.exe process and selecting Affinity from the context menu.
There they need to select a specific cpu core or remove one from the listing to test the fix. Please note that this is only a temporary solution. A system state change, e.g. a reboot, standby or hibernation resets the affinity settings that you have selected.
A permanent solution is to create a new program shortcut and set the cpu affinity this way.
The command for Firefox is this one:
C:\Windows\System32\cmd.exe /c start "C:\Program Files\Mozilla Firefox\" /affinity x firefox.exe
where x is the cpu core number. (cpu 0 = 1, cpu 1 = 2, cpu 2 = 4, cpu 3 = 8 and so on).
For Thunderbird the command is
C:\Windows\System32\cmd.exe /c start "C:\Program Files (x86)\Miramar 3.3 Alpha 1\thunderbird.exe" /affinity x thunderbird.exe
The easiest way is to copy the shortcut from the start menu or to use Windows Explorer to open the folder where the program is installed. There you can right-click firefox.exe or thunderbird.exe and select to create a new shortcut.
It is likely that we will see an official fix in the coming days / weeks. You can then simply delete the shortcut or modify it again so that all cpu cores are used by the application. It is unlikely that this change has an effect on the program's performance.
Windows XP users cannot make use of the command. The suggestion here is to use the freeware RunFirst which sets the process affinity automatically to one core.
Has this fixed your issue as well? Let me know in the comments. (thanks David, via)


You said that Outlook isn’t your main email client, so which is your main one?
I think its thunderbird
It is Mozilla Thunderbird.
Awesome! This actually solved my problem… what a stupid bug.
If this is the same bug that I’ve encountered, there may be another fix: (1) hover over open Outlook item in Taskbar, cursor up to hover over Outlook window item, and right-click; (2) this should give you Restore / Move / Size / Minimize / Maximize — choose Move or Size; (3) use your cursor keys, going arbitrarily N/S/E/W, to try to move or size the Outlook window back into view. Basically, the app behaves as though it were open in a 0x0 window, or at a location that’s offscreen, and this will frequently work to resize and/or move the window. Don’t forget to close while resized/moved, so that Outlook remembers the size/position for next time.
THANK YOU Claude!!! I could get the main window to launch but could not get any other message window to show on the desktop. You are my hero!!!!
Solved my issue! 6 years later and this is still problem…
Fantastic. Thank you. Size did the trick.
This solved my Outlook problem, too. Thank you. :)
Thank you so much, this started happening to me today and was causing big problems. You are a life saver, I hope I can help you in some way some day.
You are a god – thank you!
thanks a lot…. work like charm.. :-)
Yah…thanks Claude. I’ve been having the same problem and tried all the suggestions…your solution was the answer. It had resized itself to a 0/0 box. Cheers
Excellent post. This had me baffled even trying to accurately describe the problem. This fixed it for me.
Thank you
Thanks a lot for the article. Don’t know why it happenend, don’t know how it got fixed, but it was really annoying and now it works :-)
Thanks a lot. I was facing this issue from past 3 week. I tried everything but no resolution. The issue was happening intermittently and mainly when I was changing the display of screen ( as i use 2 monitors). The only option i had was to do system restore. But thanks to you.
I’ve been tried to sole this problem for 12hours. Your comment about changing the display of screen helped me a lot!! Thanks!!
Thank you…don’t know why this happened but your instructions helped me fix it. Running Windows 10 and office pro 2007
Great tip! Thanks!
Worked for me, too – thank you!!!
It’s Worked for me, too
thank you very much!
I had a similar issue with Outlook 2013 on Windows 10 and this helped me to fix it. Thank you very much!
Thank you so much. Solved!
Considering you published this in 2012, incredible not been debugged by Microsoft.
Thank you again. M
This problem was faced by only one user logging to TS 2008 r2 using outlook 2010.The issue was resolved.
Thanks.
Great tip. Thank you!!!! If it helps, I had to use the Control Key and the arrow keys at the same time to bring my window back into view. Worked like a charm.
Thank you, this worked !!!!
Man, you are a fucking god. Thanks a lot, what an annoying bug!!
Awesome, this post solved the issue. Many thanks!