Closed
Bug 1436146
Opened 8 years ago
Closed 8 years ago
Browsing momondo.com for a period of time can cause Firefox to consume high amounts of RAM and reduce responsiveness
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: thee.chicago.wolf, Unassigned)
Details
(Whiteboard: [MemShrink])
Attachments
(1 file)
|
141.73 KB,
application/x-7z-compressed
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:56.0) Gecko/20100101 Firefox/56.0 SeaMonkey/2.53
Build ID: 20180203192623
Steps to reproduce:
Some history: Although I primarily use Seamonkey, I've been using a 2.53 x64 build made by Frank-Rainer Grahl and this issue reproduces *WAY* faster there.
I was browsing flights on momondo.com for a period of time (10+ minutes or more) using both x64 of 58.0.1 and 59.0b7. After a while, Firefox consumes upwards of 1-2GB of RAM and becomes sluggish, unresponsive for a few seconds and generally slows down. Going to about:memory and utilizing the options from the "Free Memory" section to free memory helps for a little bit but the problem just comes back again after further browsing. No other site I've ever used causes this issue.
Actual results:
After browsing for a period of time (10+ minutes or more), the browser has consumed a lot of RAM and becomes sluggish and, at time, unresponsive for a few seconds.
Expected results:
Memory should not be going up without being released and the browser should not be become unresponsive or require freeing up memory from about:memory's tools.
I think Frank-Rainer Grahl took a look once and said there were a *LOT* of Javascript things happening.
Comment 1•8 years ago
|
||
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:58.0) Gecko/20100101 Firefox/58.0
Firefox: 58.0.2, Build ID: 20180206200532
I have tested this issue on Firefox (58.0.2) release, but I haven't managed to reproduce the issue. I have browsing through the Momondo website and searched for multiple flights more then 15 minutes but the memory didn't increased more then 1 GB and the browser was responsive.
Note that I am from Romania and when I navigate to the "https://www.momondo.com/" website and search for flights I'm automatically redirected to the "https://www.momondo.ro/" website. But in the next days I will try to use a VPN application and change the location to see if I can reproduce the issue.
Until then, if you don't mind can you collect a performance profile when you reproduce the issue? In order to do this please following the steps from here: https://developer.mozilla.org/en-US/docs/Mozilla/Performance/Reporting_a_Performance_Problem.
It will be also helpfully if you can provide the memory report. In order to do this, when you encounter the issue navigate to "about:memory" page and click the "Measure and save..." button and attach here the file.
Also, can you please test if the issue is reproducible on latest Firefox 58.0.2 realease using a new clean profile to eliminate custom settings as a possible cause (https://goo.gl/Q417K7)?
Flags: needinfo?(thee.chicago.wolf)
| Reporter | ||
Comment 2•8 years ago
|
||
(In reply to Cosmin Muntean [:CosminMCG], Desktop Engineering QA from comment #1)
> User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:58.0) Gecko/20100101
> Firefox/58.0
> Firefox: 58.0.2, Build ID: 20180206200532
>
> I have tested this issue on Firefox (58.0.2) release, but I haven't managed
> to reproduce the issue. I have browsing through the Momondo website and
> searched for multiple flights more then 15 minutes but the memory didn't
> increased more then 1 GB and the browser was responsive.
> Note that I am from Romania and when I navigate to the
> "https://www.momondo.com/" website and search for flights I'm automatically
> redirected to the "https://www.momondo.ro/" website. But in the next days I
> will try to use a VPN application and change the location to see if I can
> reproduce the issue.
>
> Until then, if you don't mind can you collect a performance profile when you
> reproduce the issue? In order to do this please following the steps from
> here:
> https://developer.mozilla.org/en-US/docs/Mozilla/Performance/
> Reporting_a_Performance_Problem.
> It will be also helpfully if you can provide the memory report. In order to
> do this, when you encounter the issue navigate to "about:memory" page and
> click the "Measure and save..." button and attach here the file.
>
> Also, can you please test if the issue is reproducible on latest Firefox
> 58.0.2 realease using a new clean profile to eliminate custom settings as a
> possible cause (https://goo.gl/Q417K7)?
I'll try and do this on Tuesday on my work PC where I frequently see it most. It's an older Latitude E6510 8GB RAM running Win 7 x64 on an MX300 SSD. You only want a memory profile against 58.0.2 or also against 59.0b? I'll also do it with a new profile.
Flags: needinfo?(thee.chicago.wolf)
Comment 3•8 years ago
|
||
@Arthur, thanks for testing this!
> You only want a memory profile against 58.0.2 or also against 59.0b?
> I'll also do it with a new profile.
It will be great if you can provide a memory profile for both Firefox versions, but for the start I think is enough only for Firefox 58.0.2 release.
But first please retest this issue using a new profile to eliminate custom settings as a possible cause.
Flags: needinfo?(thee.chicago.wolf)
| Reporter | ||
Comment 4•8 years ago
|
||
(In reply to Cosmin Muntean [:CosminMCG], Desktop Engineering QA from comment #3)
> @Arthur, thanks for testing this!
>
> > You only want a memory profile against 58.0.2 or also against 59.0b?
> > I'll also do it with a new profile.
>
> It will be great if you can provide a memory profile for both Firefox
> versions, but for the start I think is enough only for Firefox 58.0.2
> release.
> But first please retest this issue using a new profile to eliminate custom
> settings as a possible cause.
Ok, I had some time to use Momondo with x64 of 59.0b8 & 58.0.2. I am attaching two separate memory profiles for each in 7z format to keep file size down. I spent a good 15 minutes per session with a brand new profile, no extensions, no other apps running and around the 10 minute mark, memory usage was up above 1.2GB for one firefox.exe process.
Flags: needinfo?(thee.chicago.wolf)
Comment 5•8 years ago
|
||
Thanks for the provided memory reports!
Mike can you please take a look upon the provided memory reports from comment 4?
Flags: needinfo?(mconley)
Comment 6•8 years ago
|
||
Looking at the 58.0.2 profile, it certainly looks like the Momondo page is creating a lot of junk and keeping it around for some reason. I don't know I have much else to say about it - erahm, I'm sorry I keep redirecting these sorts of things at you, but are you able to see anything in these reports that I can't?
Flags: needinfo?(mconley) → needinfo?(erahm)
Comment 7•8 years ago
|
||
Yeah, I'm inclined to say that website is just doing something wrong. They have a ton of orphan nodes and detached windows. There's also a lot going on in arrays.
> 1,108.10 MB (100.0%) -- explicit
> ├────865.43 MB (78.10%) -- window-objects
> │ ├──842.95 MB (76.07%) -- top(https://www.momondo.com/flightsearch/?Search=true&TripType=2&SegNo=2&SO0=CHI&SD0=BRU&SDP0=19-06-2018&SO1=BRU&SD1=CHI&SDP1=27-06-2018&AD=2&CA=9,2&TK=ECO&DO=false&NA=true¤cy=USD, id=4294967297)
> │ │ ├──585.02 MB (52.80%) -- active
> │ │ │ ├──573.20 MB (51.73%) -- window(https://www.momondo.com/flightsearch/?Search=true&TripType=2&SegNo=2&SO0=CHI&SD0=BRU&SDP0=19-06-2018&SO1=BRU&SD1=CHI&SDP1=27-06-2018&AD=2&CA=9,2&TK=ECO&DO=false&NA=true¤cy=USD)
> │ │ │ │ ├──286.31 MB (25.84%) -- dom
> │ │ │ │ │ ├──238.21 MB (21.50%) ── orphan-nodes
> │ │ │ │ │ ├───44.77 MB (04.04%) ── event-targets
> │ │ │ │ │ └────3.33 MB (00.30%) ++ (5 tiny)
> │ │ │ │ ├──278.76 MB (25.16%) ++ js-compartment(https://www.momondo.com/flightsearch/?Search=true&SegNo=2&TripType=2&TK=ECO&NA=false&AD=2&DO=false¤cy=USD&CA=9,2&SDP0=18-3-2018&SO0=CHI&SD0=AMS&SDP1=28-3-2018&SO1=AMS&SD1=CHI)
> │ │ │ │ └────8.12 MB (00.73%) ++ (2 tiny)
> │ │ │ └───11.83 MB (01.07%) ++ (21 tiny)
> │ │ └──257.93 MB (23.28%) ++ js-zone(0x889e000)
> │ ├───16.51 MB (01.49%) ++ top(none)/detached
Flags: needinfo?(erahm)
| Reporter | ||
Comment 8•8 years ago
|
||
(In reply to Eric Rahm [:erahm] (please no mozreview requests) from comment #7)
> Yeah, I'm inclined to say that website is just doing something wrong. They
> have a ton of orphan nodes and detached windows. There's also a lot going on
> in arrays.
Well, it seems even Momondo might have realized this as well as it seems today they've launched a revamped site. I'm going to beat on Firefox with the updated site to see if the issue is now resolved.
| Reporter | ||
Comment 9•8 years ago
|
||
After a good 25+ minutes of steady use, memory hardly climbed over 550MB so I guess Eric was right, the site was doing something wonky in its old iteration.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•