punassuming / ranger.el

Bringing the goodness of ranger to dired!
699 stars 52 forks source link

Ranger causes emacs to freeze when previewing large links #180

Open siddharthshekar opened 6 years ago

siddharthshekar commented 6 years ago

Hi! First off, thanks for the great package!

I've been using the ranger layer through Spacemacs and noticed that ranger causes Emacs (v25.3.2) to freeze up when previewing links that point to large files. In my use case, I create links via ln -s that point to large (15 GB ish) zip files and hovering on or trying to move past these links causes Emacs RAM consumption to shoot through the roof and render the system unusable. I have (setq ranger-max-preview-size 10) set in my config but this doesn't seem to help. If I turn off the preview, I can hover on the link and move past it just fine. Any thoughts as to what might be going wrong?