-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Big memory leak with image resizeing #1418
Comments
Does this still occur in master? |
Also:
This seems very wrong. |
I just yay installed neofetch-git, still happens. Found the issue on kittys github. Its an issue with fish. |
So, does it work from bash as your shell? |
Tried to reproduce the leak in bash, and could'nt.
The thumbnail issue was still there, looks like a permissions issue, chmodded the thumbnail 777 and it worked. I dont see an issue up on fish's github about this specifically, but then there are pages and pages of issues, and i cant come up with a good search term. |
Try the latest master in fish and bash. 👍 |
Installed master and term size is still the same. Memory leak is still happening. |
Send a log? Also, does this issue occur in other terminal emulators? |
Other terminal emulators dont use the kitty backend. Using w3m in alacritty pops the image up at the correct size (at auto) but dissapears right away. Same with termite. In alacritty with kitty backend it "checks for graphics 10s.." and no leak. Alacritty seems to check for support first and not run the kitten. Gotta be a kitten-problem? |
Log running with kitty backend in termite |
I'm closing this under #1392. I believe this is kitty and/or fish related overall though. |
Looks like it. Ty for your time. Might do an issue over there. |
I use Arch, btw. Latest packages of Kitty 0.16.0, neofetch 6.1.0, fish 3.1.0.
I've had problems getting neofetch to show an image for a few days.
Got it working for the standard image size, but i wanted to figure out why it would'nt resize.
It turns out the issue is image resizing and writing pixel cache -related.
Now this may not be an issue with neofetch itself. I dont really know.
Ran neofetch -v and the previous thumbnail failed to load so i removed it. I re-ran neofetch and luckily i had htop running in another terminal, and i noticed my memory was being eaten up. A few seconds and all 16gb was full. This happens when i set image_size="auto" or a %-age.
convert: unable to write pixel cache '/tmp/magick-158278bty4e63qSdyp': No space left on device @ error/cache.c/WritePixelCachePixels/5830.
Setting it to 140px (or any pixel value) gives me the error cant open thumbnail, no memory leak.
Failed to open image: ~/.cache/thumbnails/neofetch/normal-center-140-140-homefuze.configneofetcharchlogo.png.png with error: convert: negative or zero image size ~/.cache/thumbnails/neofetch/normal-center-140-140-homefuze.configneofetcharchlogo.png.png' @ error/resize.c/ResizeImage/3741.
Config file
https://pastebin.com/vYE407DZ
Verbose log
https://pastebin.com/nFB6duUL
Kitty conf
https://pastebin.com/hyCPwPjd
The text was updated successfully, but these errors were encountered: