←back to thread

Introducing tmux-rs

(richardscollin.github.io)
857 points Jtsummers | 5 comments | | HN request time: 0.633s | source
1. df0b9f169d54 ◴[] No.44456151[source]
tmux has been used a lot of memory on my system, especially when scrolling buffer is large enough (I often have > 10k lines of things ).

I have often executed `pkill -9 tmux` and saved my day. I hope the rust version can help a bit here?

replies(4): >>44456184 #>>44456213 #>>44456714 #>>44461727 #
2. downrightmike ◴[] No.44456184[source]
Let us know
3. throwaway290 ◴[] No.44456213[source]
Tmux has configurable scrollback buffer size, maybe set-option -g history-limit something-smaller in your config?
4. 01HNNWZ0MV43FF ◴[] No.44456714[source]
How much is a lot? Even 10,000 lines of text should be on the order of megabytes, right?
5. da-x ◴[] No.44461727[source]
I am using tmux with a 200,000 line history and have no issues.

Also, in 2017-2018 I contributed a few fixes for memory leaks related to buffer history, so make sure you are using a recent version.