Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

sublime text 3 high memory usage

recently noticed high memory usage of Sublime Text 3 (3.2.2 Build 3211) and it became slower I have only 2 files opened, they are python files with 100-300 lines of code

I see following memory usage, and it is very slow, sometimes I even can't type.

enter image description here

Is there any way for to solve it?


on more observation, it starts eating a lot of memory only in case when I open file from the solder which contains a lot of other files

like image 490
Roman Avatar asked Nov 15 '25 12:11

Roman


1 Answers

The only way I could imagine such ram usage is if you have a file open from an extremely large git repo with an extremely high number of un-tracked or modified files.

Creating a list of every file and folder uses memory to store each file path in memory, and then it will start working on indexing the contents of all of those files, which will add to memory usage also

Solution 1:

Revert to a freshly installed state

https://www.sublimetext.com/docs/revert.html

Solution 2:

Install sublime text alternatives

https://beebom.com/sublime-text-alternatives/

like image 161
Suhas_Pote Avatar answered Nov 17 '25 09:11

Suhas_Pote