allusive-dev / compfy

A Compositor for X11 based on Picom. No Longer Maintained in favor of Picom v12!
203 stars 23 forks source link

Expected/Normal RAM Usage? #44

Closed pienapin closed 9 months ago

pienapin commented 9 months ago

Not really an issue, I just want to know, what is the normal or expected RAM usage of compfy? Because it is using 2.93 GiB memory on my computer right now, opening two windows of Firefox, some terminals, spotify, and polybar. Is that normal or a problem?

allusive-dev commented 9 months ago

Hey @pienapin I opened the same apps you described on mt system and I am using the same amount of RAM. But if you take a look at something like htop or btop you may see something similar to this.

image

Either way that amount of RAM usage is fairly normal, hopefully in future updates this will be improved.

pienapin commented 9 months ago

wait, I mean the compfy alone using that much amount of ram, that means there is problem on my side(?) image

I don't use the '-b' flag like you tho

Update : It is because I don't use the '-b' flag, tried it and now the RAM Usage is at ~180MiB Thanks for the response.

allusive-dev commented 9 months ago

@pienapin Ah ok that is a bit of an issue. Thanks for letting me know about that. I'll update the FAQ

pienapin commented 9 months ago

turned out that the RAM usage was low when I tried with flag because I just started it. The memory usage is growing overtime even with the flag (I let it runs for 10 hours and the memory usage is 2.8 GiB). Is it memory leak? image

allusive-dev commented 9 months ago

@pienapin It could be a memory leak yes. I cannot fix this at the moment however hopefully some updates will be released in the near future fixing memory leaks and another few performance issues.