Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why Zellij use way more memory than tmux? #3594

Open
junyan-zhang opened this issue Sep 6, 2024 · 2 comments
Open

Why Zellij use way more memory than tmux? #3594

junyan-zhang opened this issue Sep 6, 2024 · 2 comments

Comments

@junyan-zhang
Copy link

in my case, after open a empty session, Zellij using 80M, tmux using 6M

I am not care about memory usage, but are they have different design?

@Zykino
Copy link
Contributor

Zykino commented Sep 6, 2024

Scrollbuffers, WASM, reserved vs actual RAM usage, not being 1.0 -> Still in feature adding phase, not yet performance enhancing except if it is really needed for something (or community provided... respecting code of contribution that ask for no refactoring and minimal asking for help, among other things)

@The-Briel-Deal
Copy link

The-Briel-Deal commented Sep 7, 2024

Tmux is also fundamentally more minimal by design. And its much easier to write code thats a bit more memory hungry while still working well due to smart pointers and other memory safety features in rust. (which isn't a bad thing, it just means rust is a bit more conservative with when memory is freed)

Also, tmux was originally made over a decade ago when computers weren't as performant, and memory was less plentiful.

And finally, theres a lot of dependencies in zellij compared to tmux, (the debug binary is over a gig on my machine).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants