4 ms·
I am interested in this. At my job we have shared systems where engineers often open very large files (10+GB) using vim/gvim and it loads the entire thing into
by seiferteric 2y ago
I am interested in this. At my job we have shared systems where engineers often open very large files (10+GB) using vim/gvim and it loads the entire thing into memory and often means these servers are memory starved. Would ropey help in these situations?
- CodesInChaos 2y agoNo: > On the other hand, Ropey is not good at: > Handling texts that are larger than available memory. Ropey is an in-memory data structure. Also, this is a rust library, not an editor application.
- runeblaze 2y agoI am literally guessing at this point — but can they mmap those files? (Or I mean can you shard the files/store the files more efficiently)
- seiferteric 2y agoI am not sure, I have looked into whether vim mem maps files or not over the years and get conflicting answers. Some say no, some say newer versions do, or it depends file type (binary vs text) or it depends on what plugins are enabled etc. All I know is I often see gvim processes using tons of rss memory.