Closed Bug 1889488 Opened 11 months ago Closed 5 months ago

Large memory leakage on Mac Silicon (memory used: 87 GB)

Categories

(Thunderbird :: General, defect)

Thunderbird 115
Unspecified
macOS
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: nevh, Unassigned)

References

Details

(Keywords: memory-leak, Whiteboard: [closeme 2024-10-20])

Attachments

(3 files)

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

Steps to reproduce:

I left Thunderbird 115.9.0 (64-bit) running overnight while my machine was unattended.
Using my Mac Silicon M3 OSX 14.4.1 (23E224)

Actual results:

Memory usage by Thunderbird climbed to 87 GB.

Expected results:

None of the above

Component: Untriaged → General
Summary: Large memory leakage on Mac Silicon → Large memory leakage on Mac Silicon (memory used: 87 GB)

After running for two days it used ~9GB as in the attached image

Are you using CalDAV calendars?

I have a calendar tab that is connected to my google calendar.
It appears that when Thunderbird is minimised on my Mac (overnight) that it is using and not freeing memory. When I restore it I can see the memory use slowly go down from 50GB to 15GB.

It appears that when Thunderbird is minimised on my Mac

Do you mean "Hidden"? Or do you mean when Mac is put to sleep and then wakend?

Flags: needinfo?(nevh)

When minimising on Mac I guess it is hidden. When my machine sleeps overnight and I open in the morning I find the memory use by thunderbird excessive.

Flags: needinfo?(nevh)

I am now running 115.12.2 (64-bit) and have not had any memory leak issues.

Comment on attachment 9412008 [details]
Screenshot 2024-07-10 at 10.32.28 PM.png

Version 115.12.2 (64-bit)

Just noticed the error has resurfaced with this newer version. New image attached to bug report.

We have a screenshot where the app is using 190 GB. It's not clear how this is possible. It's a heavy CalDAV user and they let their Mac run for days.

Is it happening in version 128?

Flags: needinfo?(nevh)
Whiteboard: [closeme 2024-10-01]
See Also: → 1901546

My version is 128.2.1esr. It's not 190GB for me. But it hogs 5 or 6 or 7GB memory, forcing the OS to swap, see screenshot. After startup it's only 2GB. Some minutes afterwards it crawls up to the around 7GB, which is then constant for days.

(In reply to Ludwig Hügelschäfer from comment #14)

My version is 128.2.1esr. It's not 190GB for me. But it hogs 5 or 6 or 7GB memory, forcing the OS to swap, see screenshot. After startup it's only 2GB. Some minutes afterwards it crawls up to the around 7GB, which is then constant for days.

If you are able to run a daily build from https://www.thunderbird.net/en-US/download/daily/ please obtain a Thunderbird performance profile using https://support.mozilla.org/en-US/kb/profiling-thunderbird-performance with "Native Allocations" enabled at step 4.5. ("Native Allocations" is only available on dailyi)

Flags: needinfo?(Ludwig.Huegelschaefer)
Keywords: memory-leak
OS: Unspecified → macOS
Whiteboard: [closeme 2024-10-01] → [closeme 2024-10-20]

Wrong bug report
Neville has provided profiler data privately. We haven't yet figured out what is happening.

See Also: → 1920296

(In reply to Wayne Mery (:wsmwk) from comment #16)

Also, does https://bugzilla.mozilla.org/show_bug.cgi?id=1662759#c28 help?

No, memory consumption is still high as before.

(In reply to Wayne Mery (:wsmwk) from comment #15)

If you are able to run a daily build from https://www.thunderbird.net/en-US/download/daily/ please obtain a Thunderbird performance profile using https://support.mozilla.org/en-US/kb/profiling-thunderbird-performance with "Native Allocations" enabled at step 4.5. ("Native Allocations" is only available on dailyi)

Done that. Memory increase can be seen during recording. How can I make it accessible by you?

Flags: needinfo?(Ludwig.Huegelschaefer)

The Profiler has a button to upload the file. When done, you can post the link here. Instead of uploading, there is also an option to download the file to your local machine. That makes sharing a little more difficult.

Things have been fixed (for me). Reason for the high memory consumption were corrupted msf-Files in one of my newsgroups server directories in my profile folder. After deleting the msf-files (TB did recreate them afterwards), memory consumption is now stable between 900MB and 1GB.

Many thanks to Wayne Mery for giving assistance!

Ludwig, thanks for all of the investigation. Your results match to bug 185634

Neville?

(In reply to Wayne Mery (:wsmwk) from comment #12)

Is it happening in version 128?

Currently running 128.3.1esr (64-bit) and have not had any problems for some time now.

Flags: needinfo?(nevh)

Thanks for the update. We can reopen this if it happens again.

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

Attachment

General

Creator:
Created:
Updated:
Size: