You are not logged in.

#1 2016-07-04 14:33:24

gym
Member
Registered: 2016-06-27
Posts: 13

Ranger+w3mimgdisplay leaking memory

Greetings!
So I have installed ranger and w3m and enabled the picture preview in the rc.conf. The problem is w3mimgdisplay leaks tremendous amount of memory. Every time a preview is opened the memory consumption of the w3mimgdisplay process increases by roughly 10 times the size of the actual image, and it is only released when ranger closes. The problem is so sever that it consumed all my memory (16G) and caused freezes while browsing some pics.

ps aux --sort -rss | head -n 2
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
gym      27100  3.8 30.9 5131644 5050984 pts/3 S+   16:15   0:15 /usr/lib/w3m/w3mimgdisplay

I haven't found anything related on the internet, and I assume someone must have noticed this behavior, so my question is can something cause this on my end? Could someone confirm this?

Thank You!

Last edited by gym (2016-07-04 14:33:41)

Offline

#2 2016-07-04 15:02:10

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,421
Website

Re: Ranger+w3mimgdisplay leaking memory


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#3 2016-07-05 10:00:54

gym
Member
Registered: 2016-06-27
Posts: 13

Re: Ranger+w3mimgdisplay leaking memory

Well thank you for the heads up! I think I'll just try the iterm2 preview for now.

Offline

Board footer

Powered by FluxBB