Open Bug 1788190 Opened 3 months ago Updated 1 month ago

Firefox suddenly uses 7.4 GB of RAM with only 4 tabs open (Macbook Pro M1)

Categories

(Core :: Performance, defect)

Firefox 104
defect

Tracking

()

UNCONFIRMED

People

(Reporter: elvingodm, Unassigned, NeedInfo)

Details

Attachments

(2 files)

Attached file memory-report.json.gz

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:104.0) Gecko/20100101 Firefox/104.0

Steps to reproduce:

I was just browsing ecommerce websites to find a new monitor

Actual results:

I notices a lag when scrolling a web page. When I closed web pages i again noticed about 1 second lag. I open Activity Monitor and see that firefox used 7.4 Gb of RAM meanwhile i had only about 4 tabs open.

Expected results:

To work smoothly and not using so much ram

Attached image activity monitor

I also noticed that Firefox doesn't adjust its RAM usage. For example, I see that it uses 1gb of RAM. Even if i close all the tabs, I still see that it uses 1 gb of RAM.

The Bugbug bot thinks this bug should belong to the 'Core::Performance' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Performance
Product: Firefox → Core

This bug was moved into the Performance component. Reporter, could you make sure the following information is on this bug?

  • For slowness or high CPU usage, capture a profile with http://profiler.firefox.com/ (during the 1 second lag periods), upload it and share the link here.
  • For the memory usage issues, capture a memory dump from about:memory and attach it to this bug.

Thank you.

Flags: needinfo?(elvingodm)

(In reply to Bas Schouten (:bas.schouten) from comment #4)

This bug was moved into the Performance component. Reporter, could you make sure the following information is on this bug?

  • For slowness or high CPU usage, capture a profile with http://profiler.firefox.com/ (during the 1 second lag periods), upload it and share the link here.
  • For the memory usage issues, capture a memory dump from about:memory and attach it to this bug.

Thank you.

Yes, memory report is attached.

Flags: needinfo?(elvingodm)

The high memory usage is caused by dhgate.com and appears to be a site issue unrelated to Firefox (although I can neither reproduce this in Chrome or in Firefox, I suspect it requires a certain interaction with the site).

In order to say more about the 1 second lag we are going to need the profile.

Flags: needinfo?(elvingodm)

(In reply to Bas Schouten (:bas.schouten) from comment #6)

The high memory usage is caused by dhgate.com and appears to be a site issue unrelated to Firefox (although I can neither reproduce this in Chrome or in Firefox, I suspect it requires a certain interaction with the site).

In order to say more about the 1 second lag we are going to need the profile.

What exactly do i need to provide?

Flags: needinfo?(elvingodm)

(In reply to elvingodm from comment #7)

(In reply to Bas Schouten (:bas.schouten) from comment #6)

The high memory usage is caused by dhgate.com and appears to be a site issue unrelated to Firefox (although I can neither reproduce this in Chrome or in Firefox, I suspect it requires a certain interaction with the site).

In order to say more about the 1 second lag we are going to need the profile.

What exactly do i need to provide?

Sorry for the delay in a response, but you can find instructions on how to collect a profile here https://firefox-source-docs.mozilla.org/performance/reporting_a_performance_problem.html. This will give us more information on where in Firefox the problem is occuring. Thank you!

Flags: needinfo?(elvingodm)
You need to log in before you can comment on or make changes to this bug.