Small issue with recursivebrowser #2181
-
Hello everyone. I'm new to this community, but I did try to look for anything pertaining to my issue here before making this post. So to cut it short; recursivebrowser seems to amass a crazy amount of RAM whenever rofi is open. I understand that it's due to the large volume of data on my home directory where I set the directory to. My question is; is there anything I should consider changing in my config or is this a known issue since recursivebrowser is still relatively experimental? In addition, I tried to minimize the impact by filtering out some unneeded entries like so: I'd appreciate any help. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 15 replies
-
Its not really a bug, but kinda a side effect of how it works. It needs scan your directory and store the filenames and info to be able to search/slow this.. I am not sure what you consider 'crazy', but this can grow quickly. For me for 850k files its around 390mb total. I can see some ways to optimize this, but this can be tricky and causes slow downs, its a tradeoff. |
Beta Was this translation helpful? Give feedback.
-
Memory usage jumps to up to 9GB if I let rofi open for roughly 30 seconds, give or take. It'll keep going on forever if I don't close it. I only have around 150k files in my home directory. I'd pretty much call this crazy. Is it because I have
In addition, sometimes rofi's process persists in the background until I manually terminate it. I don't know the cause of that one either. If you see anything out of the ordinary in my config, please let me know. capture_2025-09-11_08-41-25.mp4Here's a video to give you an idea of what I mean. The memory usage will just keep climbing indefinitely for as long as I have rofi open, and at times I'd have to terminate it manually. |
Beta Was this translation helpful? Give feedback.
-
I figured as much. But is it something to address on my end or yours? |
Beta Was this translation helpful? Give feedback.
I've added some code to git, that should check for loops.