hbons / SparkleShare

Share and collaborate by syncing with any Git repository instantly. Linux, macOS, and Windows.
https://sparkleshare.org
Other
4.88k stars 576 forks source link

Not a SparkleShare bug: memory leak in WebKitWebProcess in F27 #1832

Closed glunardi closed 6 years ago

glunardi commented 6 years ago

Just another point for consideration regarding the use of webkit.

Discovered in the past few days that there is a pretty bad memory leak in webkit2gtk. /usr/libexec/webkit2gtk-4.0/WebKitWebProcess

It was not visible before possibly because it would typically crash before the memory usage would become an issue (or it was the issue all along).

At any rate with an 72h+ uptime for my F27 SparkleShare process, the webkit2gtk process is using over 2GB of resident memory.

Not sure if that memory usage is a problem on the other platforms supported.

glunardi commented 6 years ago

Could that be why you were destroying it before?

hbons commented 6 years ago

Oh I haven't seen this. This is indeed another good reason to move away from the webview. Thanks for reporting!

hbons commented 6 years ago

linking this to #1774.