SUMMARY Over time Falkon uses more and more memory, without ever releasing it. Closing the tabs will close QWEProcesses but not make the main program free some memory. What started with just ~120mb, after hours of usage Falkon is now allocating over 2gb of ram! STEPS TO REPRODUCE 1. Just work with Falkon for hours without closing it. Check the memory. 2. Notice the main program will never release the memory, no matter how many tabs you close. OBSERVED RESULT Memory leak or simply a build up over time. It's possible that Nvidia hardware acceleration makes Falkon use more memory. However, in my findings it's not more than 50-100mb extra ram being used. EXPECTED RESULT Memory optimization, releasing RAM allocation. Just as an example, Firefox uses around 250-500mb all the time. Compared to 2.1GB and growing of Falkon, it's WAY above normal. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.20.3 KDE Frameworks Version: 5.76.0 Qt Version: 5.15.1 Kernel Version: 5.9.9-arch1-1 OS Type: 64-bit Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor Memory: 31,4 GiB of RAM Graphics Processor: GeForce GTX 1060 6GB/PCIe/SSE2
I have also observed this.
This is a known behaviour. Sadly I do not know the fix, it requires deeper investigation.
FYI, we're tracking what is likely the same issue here: https://bbs.archlinux.org/viewtopic.php?id=268398 In that thread you can find a very simple tiny bit of code that should replicate the issue. I'd be curious too if Falkon users see worse symptoms of this problem on wayland than on X11.