halloy icon indicating copy to clipboard operation
halloy copied to clipboard

Possible memory leak

Open andybug opened this issue 2 months ago • 1 comments

Using Halloy version 2025.9 (Flatpak) on Arch Linux with Sway (Wayland).

I'm noticing a slow uptick of memory usage over time. When first starting the application it uses about 200M of memory. After a few days it had crept up to 580M. And in the time that I was observing the memory usage in btop, it continued to grow to 592M over 15 minutes or so.

This is pretty light usage -- only four channels on one server.

Please let me know if I can help provide more useful information.

andybug avatar Oct 23 '25 00:10 andybug

Another data point: I built halloy from source on the main branch (commit 92fd68c). This shows up as Halloy (2025.11) in the hamburger menu.

Running this version directly (no Flatpak/bwrap) on the same Linux kernel (6.15.7-zen1-1-zen) and setup has resulted in stable memory usage around 170M.

So perhaps there was something wrong with the particular Flatpak version I was using or there is some interaction between Halloy and the Flatpak environment that causes the memory issue.

andybug avatar Nov 04 '25 00:11 andybug