CristianHenzel / ClipIt

ClipIt clipboard manager for GTK+
https://github.com/CristianHenzel/ClipIt
GNU General Public License v3.0
651 stars 83 forks source link

memory leak #98

Closed onlyjob closed 4 years ago

onlyjob commented 6 years ago

Clipit just got killed by OOM killer on machine with 40+ GiB of (free) RAM.

Apparently sometimes it leaks memory rapidly but I'm not sure how to reproduce. It seems to happen randomly on Debian GNU/Linux "testing" in Cinnamon Desktop Environment, amd64.

jrrtck commented 5 years ago

I can reproduce memory leak reliably, when opening Manage history page. Every time this window appears, entire history list is leaked. After applying above patch, clipit's memory usage is stable. I've tested it for period of several months by means of common daily usage.

afelinczak commented 4 years ago

Patch merged, closing