Closed Bug 669739 Opened 14 years ago Closed 11 months ago

Loading bugzilla main page then closing the tab doesn't decrease memory used

Categories

(Core :: General, defect)

x86_64
Linux
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: justin.lebar+bug, Unassigned)

References

Details

(Whiteboard: [MemShrink:P3])

Attachments

(1 file)

This is in the spirit of "browse around for a while, then close all tabs. Firefox holds onto lots of memory." We discussed this kind of bug at yesterday's MemShrink meeting. I thought I'd start small. On my Linux x86-64 machine, I measured memory used immediately after startup, after loading bmo (not logged in), and after closing the tab and clicking minimize memory usage. I'll attach the full results, but in summary: * Initial RSS: 66m Explicit: 39m * After loading http://bugzilla.mozilla.org RSS: 83m Explicit: 50m * After closing tab, clicking minimize memory usage: RSS: 85m Explicit: 56m khuey's suggested technique is to use trace-malloc and diffbloatdump to see where this memory is coming from and going to.
Whiteboard: [MemShrink]
Was this with bugzilla-tweaks installed? Even after the resolution of bug 639626, it still causes leaks from what I've found. (Meant to file something earlier this week).
These measurements were taken from safe mode.
Whiteboard: [MemShrink] → [MemShrink:P3]
Generating about:memory causes |explicit| to jump by up to 1.5MB on my Linux64 machine. So the 50MB to 56MB jump in comment 0 is suspicious. But we don't have detailed data for that. In contrast, the jump in the attachment (for which we do have detailed data) is from 56.8MB to 57.1MB, which isn't suspicious at all.
What if I retitled this bug "closing bugzilla main page doesn't decrease memory used"? Clearly opening it causes an increase in memory; we don't understand why it doesn't all go away when you close the tab.
Summary: Loading bugzilla main page then closing the tab *increases* memory used → Loading bugzilla main page then closing the tab doesn't decrease memory used
Severity: normal → S3

This is kind of a vague bug so let's close it.

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

Attachment

General

Created:
Updated:
Size: