Eugeny / tabby

A terminal for a more modern age
https://tabby.sh
MIT License
59.42k stars 3.39k forks source link

(suggestion) Reduce memory usage #4714

Open bestv5 opened 3 years ago

bestv5 commented 3 years ago

Why does the tabby take up so much memory? Like terminus 、windTerm, they takes up less memory than tabby。 Can the author optimize the memory occupation?

museHD commented 3 years ago

Please have a look at the Readme. It acknowledges that Tabby isn't lightweight here. That being said, if you are facing severe performance issues, you might need to provide more information.

bestv5 commented 3 years ago

although tabby isn't a lightweight tool, As a developer, I still want to use less memory. The following is a comparison of Tabby, SecureCRT, Termius and WindTerm :

  1. Memory usage at startup: image

  2. When connecting to 1 server(ssh to the same linux server) image

Tabby takes up more memory. I hope the author will spend some effort to reduce the memory. This is my suggestion.

SamuelBenard commented 3 years ago

As Tabby is based on electron, there's probably no much place for memory optimization. Electron include chromium, node and other softwares. Other ssh client are probably developped using C or similar. that's why they will be lighter. Using electron is a good option for platform compatibility as you don't have to code 3 times. But the cost is memory consumption.

lhzw commented 2 years ago

Truly use too much memory, though I like its alt-number hotkey for switching between tabs. Maybe I need to use my old client.

wangjiyang commented 1 year ago

Too much memory consumed. This makes my computer laggy.

dnielso5 commented 9 months ago

This was using 10 gigs of memory before crashing on me today.