Closed Bug 1571692 Opened 6 years ago Closed 5 years ago

Firefox uses excessive amount of memory, which is mostly heap-unclassified

Categories

(Core :: General, defect, P5)

68 Branch
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: glebignatieff, Unassigned)

Details

(Whiteboard: [MemShrink:P3])

Attachments

(1 file)

Attached file memory-report.json.gz

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

Unfortunately, nothing special. I had a couple of PDFs opened and used Google Maps

Actual results:

At some point my laptop started to freeze, I opened htop and saw that the main Firefox process consumes about 10 Gb of virtual memory. A huge chunk of the allocated memory is heap-unclassified. I closed all the tabs, but it didn't help and neither GC explicit call helped

Expected results:

Memory usage should have reduced

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → JavaScript: GC
Product: Firefox → Core

The priority flag is not set for this bug.
:jonco, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(jcoppeard)

(In reply to glebignatieff from comment #0)

A huge chunk of the allocated memory is heap-unclassified. I closed all the tabs, but it didn't help and neither GC explicit call helped

From the memory report we have 6.8GB / 7.1GB heap-unclassified (!). JS GC heap is only ~30MB. It doesn't look like a GC issue specifically, more like some kind of leak.

glebignatieff, did you see this again? Any way we can reproduce this?

Component: JavaScript: GC → General
Flags: needinfo?(jcoppeard) → needinfo?(glebignatieff)
Summary: Firefox uses excessive amount of memory → Firefox uses excessive amount of memory, which is mostly heap-unclassified
Whiteboard: [MemShrink]

(In reply to Jon Coppeard (:jonco) from comment #3)

(In reply to glebignatieff from comment #0)

A huge chunk of the allocated memory is heap-unclassified. I closed all the tabs, but it didn't help and neither GC explicit call helped

From the memory report we have 6.8GB / 7.1GB heap-unclassified (!). JS GC heap is only ~30MB. It doesn't look like a GC issue specifically, more like some kind of leak.

glebignatieff, did you see this again? Any way we can reproduce this?

Unfortunately, it's "No" for the both questions :/ I'll leave a comment here, if encounter this issue again

Flags: needinfo?(glebignatieff)
Priority: -- → P5

Unfortunately leaks that can't be reproduced and only show up as heap-unclassified are going to be hard to fix. If you see this regularly, you can try running in safe mode, which will disable addons. Addons can sometimes be the cause of leaks. PDFs and Google Maps both can use tons of image data, so that might be the cause somehow.

Whiteboard: [MemShrink] → [MemShrink:P3]

Without more information to reproduce this issue, we're not going to be able to fix this, unfortunately.

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: