Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Memory leak while using Hotmail

  • 8 replies
  • 16 have this problem
  • 87 views
  • Last reply by Strugee

more options

I have seen memory usage in Firefox 7.0.1 climb steadily if left open for long periods. I have narrowed this down to Javascript and possibly Hotmail. I don't know if this is just for Hotmail or all JS sites.


I have restarted FF with plugins disabled and used about:memory and got these stats:

After running FF for 5 minutes:

¦ +---2.80 MB (03.96%) -- compartment(http://secure.shared.live.com/_D/F$Live....)

After running for 16 hours:

¦ +--108.97 MB (36.42%) -- compartment(https://secure.shared.live.com/_D/F$Live...)

After running for 24 hours:

¦ +--144.42 MB (38.79%) -- compartment(https://secure.shared.live.com/_D/F$Live...)

After running for 40 hours:

¦ +--181.51 MB (42.62%) -- compartment(https://secure.shared.live.com/_D/F$Live...)

As I have noted in another thread, if left running over a weekend(this was with plugins enabled) then it gets to:

¦ +--695.60 MB (51.94%) -- compartment(https://secure.shared.live.com/_D/F$Live...)

Are more stats needed?

I have the full memory:about lists for all those measurements, but posting might be unhelpful.

Modified by errolt

All Replies (8)

more options

Note forked off from thread Firefox has extreme memory leak also see from /questions/669659?page=5#answer-267866 to /questions/669659?page=5#answer-269100

more options

Running 4 days without touching. Only logged into www.live.com:


1,375.68 MB (100.0%) -- explicit

├──1,112.24 MB (80.85%) -- js

│ ├────785.64 MB (57.11%) -- compartment(https://secure.shared.live.com /_D/F$Live...)

│ │ ├──362.69 MB (26.36%) -- gc-heap

│ │ │ ├──332.66 MB (24.18%) -- objects

│ │ │ ├───25.59 MB (01.86%) -- strings

│ │ │ └────4.44 MB (00.32%) -- (5 omitted)

│ │ ├──303.58 MB (22.07%) -- string-chars

│ │ ├──118.70 MB (08.63%) -- object-slots

│ │ └────0.68 MB (00.05%) -- (5 omitted)

│ ├────251.23 MB (18.26%) -- compartment(http://secure.shared.live.com/_D/F$Live....)

│ │ ├──138.76 MB (10.09%) -- gc-heap

│ │ │ ├──126.05 MB (09.16%) -- objects

│ │ │ ├────9.74 MB (00.71%) -- strings

│ │ │ └────2.96 MB (00.22%) -- (5 omitted)

│ │ ├───64.40 MB (04.68%) -- string-chars

│ │ ├───46.75 MB (03.40%) -- object-slots

│ │ └────1.32 MB (00.10%) -- (5 omitted)

│ ├─────25.10 MB (01.82%) -- gc-heap-chunk-unused

│ ├─────15.22 MB (01.11%) -- compartment([System Principal])

│ │ ├───9.93 MB (00.72%) -- gc-heap

│ │ │ └──9.93 MB (00.72%) -- (7 omitted)

│ │ └───5.28 MB (00.38%) -- (7 omitted)

│ ├─────15.01 MB (01.09%) -- (26 omitted)

│ ├─────10.91 MB (00.79%) -- compartment(http://bl152w.blu152.mail.live.com/?fid=...)

│ │ └──10.91 MB (00.79%) -- (8 omitted)

│ └──────9.13 MB (00.66%) -- gc-heap-chunk-admin

├────222.50 MB (16.17%) -- heap-unclassified

├─────31.23 MB (02.27%) -- storage

│ └──31.23 MB (02.27%) -- sqlite

│ ├──20.06 MB (01.46%) -- places.sqlite

│ │ ├──19.69 MB (01.43%) -- cache-used

│ │ └───0.37 MB (00.03%) -- (2 omitted)

│ ├───8.16 MB (00.59%) -- urlclassifier3.sqlite

│ │ ├──8.07 MB (00.59%) -- cache-used

│ │ └──0.08 MB (00.01%) -- (2 omitted)

│ └───3.01 MB (00.22%) -- (11 omitted)

└──────9.71 MB (00.71%) -- (3 omitted)

Modified by errolt

more options

Thanks errolt,
Lets see if we are able to get some expert advice on this I have posted a blog comment

more options

Thanks. That is a very appropriate blog to post. I would never have found it.

Can't see your comment yet though. Guess it must be approved first.

Thanks, Errol

more options

The blog comment did not receive any answer. If you see this happening in Troubleshoot Firefox issues using Safe Mode and with no plugins I think it may be worth you going ahead and filing a bug for this.

But given the nature of webmail, which may try to update your mail, and will no doubt be streaming adverts the reply may just be that it is the expected behaviour when using such a site.

more options

I have had this issue with Hotmail for a long time. It took a while to narrow it down since I really like to stay logged in to my email while the browser is running. I have lots of tabs open so normal startup memory usage is just over a Gig. If I leave the browser open all day WITHOUT ever logging into Hotmail, it stays pretty close to that. If I log in to Hotmail at startup, my memory usage will slowly climb until it's well over 2Gig by the end of the day. I think it's even worse with Firefox 11, but that could be in contrast to the better base memory usage I'm seeing for all the other tabs I have open. This is completely reproduceable, clear, and should be very easy for a Firefox developer to take a look at. They can use Trueswitch to migrate an existing populated email account from somewhere like Gmail to a new Hotmail account. Just leave a tab open logged into Hotmail and memory usage will climb like crazy. I understand Hotmail refreshes a lot and highlights the tab when new mail arrives and all that. However, the memory usage and subsequent browser slowdowns make it pretty much unusable. Not good.

more options

It is unlikely developers will read this forum or this thread.

You will need to find an other route to report this. It may of course already be a well known issue and a Hotmail not Firefox fault. You could try the feedback option,

  • Firefox Button -> Help -> Submit feedback

but that will not really give you any feedback,and any comment you make may get lost in general noise.

If you have a reproducible problem (preferably with a simple reduced testcase to demonstrate) you could consider filing a bug for this. I am of the opinion that even if the fault is not with Firefox but with Hotmail; that Hotmail will be used by so many Firefox users that you have a chance of developers commenting. At the very least it gives the chance to get the problem documented and confirmed or otherwise.

more options

Hi, have you upgraded your browser since you posted this? Please make sure you're running the latest version of Firefox.