Comments (5)
It looks like it's due to the file size calculation. If I just let it stand for a while fm will eventually become responsive again. Is there a way to ....
- disable the size column, either through a shortcut or through configuration
- run the size calculation in a separate thread so it won't block the rest of the UI
?
from fm.
Oh snap, changing the dir and going back results in a full re-calculation of the sizes.
Would it be possible to cache the values?
I'm not quite certain why this takes that much time however. A simple ls -la in that directory completes in 0.03s using exa and also displays the file sizes.
from fm.
I had noticed this as well actually with a node_modules directory. Will look at adding a config to disable the size calculation. It runs in separate go routines but for some reason hangs when there is a lot of directories and files. The size calculation is recursively going through directories and calculating the size of all the files in there which ls does not do. That being said I plan to look into why this happens
from fm.
@mrusme just released 0.13.4 which adds a config value for calculated_file_sizes
which by default will be false. Going to look into why the UI freezes up on large directories with calculated file sizes on
from fm.
Just upgraded, works perfectly smooth, thanks! File sizes for files show up instantly and no UI hangs to be noticed.
from fm.
Related Issues (20)
- Previewing zip, rar, mp3, webm breaks UI HOT 12
- List beahviour odd HOT 3
- Accidentally pressing l while on a large *.img file makes CPU go brrrr HOT 1
- ctrl+d item makes highlight jump back to the top of the list HOT 3
- ctrl+d `y` should not require CR HOT 3
- q / ctrl+q / esc should be a shortcut for exiting fm HOT 3
- Support M1 Mac HOT 2
- scoop package HOT 1
- Soft links that point to a deleted or non existent file prevents display HOT 4
- Support arm64 on Linux/FreeBSD/OpenBSD
- feature request: build a midnight commander tui file manager HOT 2
- Feature Request: Run a command in the current context HOT 1
- Icons not showing on Windows WSL HOT 9
- Migrate teacup packages into this repo HOT 1
- New filetree
- View CSV's
- JSON Config file HOT 1
- Multi-workspace navigation
- Access help from show states. HOT 3
- How to change the $EDITOR to my Nvim config? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fm.