After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 794995 - Memory leak when re-connecting to the network
Memory leak when re-connecting to the network
Status: RESOLVED INVALID
Product: geary
Classification: Other
Component: engine
master
Other Linux
: Normal normal
: ---
Assigned To: Geary Maintainers
Geary Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-04-05 01:09 UTC by Michael Gratton
Modified: 2019-03-31 12:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Michael Gratton 2018-04-05 01:09:17 UTC
It looks like Geary is leaking memory when going online - probably at startup and whenever the network does down then combes back up again. To repro, just turn the network off, then turn it on again, and watch the memory go up.

Memory use seems to increase when the following debug is getting printed:

 [deb] 11:02:54 1.083205 geary: util-connectivity-manager.vala:163: Network changed: some available
 [deb] 11:02:54 0.000052 geary: util-connectivity-manager.vala:103: Checking if mail.quuxo.net:143 reachable...
 [deb] 11:02:55 0.998631 geary: smtp-outbox-folder.vala:116: Starting outbox postman with 0 messages queued
 [deb] 11:02:55 0.004462 geary: imap-engine-minimal-folder.vala:1472: account_01:INBOX (open_count=2 remote_opened=true): fetching 20 flags
 [deb] 11:02:55 0.002998 geary: imap-engine-minimal-folder.vala:269: account_01:INBOX (open_count=2 remote_opened=true): Claiming folder session

So a good place to start is to look at those classes around the code printing that debug output.
Comment 1 Michael Gratton 2018-04-05 01:10:58 UTC
NB this was a Geary build compiled with Vala master, which has the fix for Bug 624624, so it's not related to that at least.
Comment 2 Michael Gratton 2019-03-31 12:28:24 UTC
Can no longer repro this, so closing.