mguessan / davmail

DavMail POP/IMAP/SMTP/Caldav/Carddav/LDAP Exchange and Office 365 Gateway - Synced with main subversion repository at
http://davmail.sourceforge.net
GNU General Public License v2.0
582 stars 86 forks source link

Memory leak on macOS 12.4 21F79 arm64 #220

Closed reagle closed 1 year ago

reagle commented 2 years ago

Hi, I'm a long time DavMail user (thank you!) and since I moved to Big Sur and an M1 Mac, DavMail's memory footprint grows by hundreds of MB a day. I don't know about DavMail, Java, and dependencies, but the version I get through homebrew seems to be running as an Intel binary via Rosetta and I suspect that's part of problem. (The other app that leaks is CopyQ, a QT-based app also running via Rosetta).

I also run the Java app Freeplane, which takes a lot of memory (like all Java apps), but runs natively on the M1 and doesn't leak.

  1. How would I make DavMail use a native Java?
  2. Could the memory leak be plugged?
  3. Could you/homebrew provision a universal binary?
reagle commented 1 year ago

Closing this; haven't seen a leak in a while and now running native.