Sublime Forum

Memory leak Build 3083

#1

I’ve been using Build 3083 since it came out and i’ve been noticing that after several days of using it without closing and reopening it, it will be using a huge amount of memory. I had it up to 700+MB once. I’m using Windows 7 x64.

I installed build 3083 into another location so i could check and see if any of my plugins were to blame, and i found that just by adding a bunch of files and then closing them, would cause the memory usage to increase.
I’m using Process Explorer ( process.exe ) to monitor sublime_text.exe. Likewise, the number of threads being used by sublime keeps increasing as i add files, but never seems to decrease as i would expect.

Test 1:

  1. Sublime_text.exe working set is 34,200K when i first opened it up.
  2. After i opened 565 files, the memory rose to 1,259,804 K, which is probably expected.
  3. After i close all of these files, the memory only went down to 62,608K
  4. If i reopen those 565 files, it goes up to 1,256,712K
  5. After i close all of them again, the memory only went down to 68,024K

So it seems there is some memory leak with opening/closing files.

I also am testing out Build 3092 and experience the same thing. Likewise, i’m not totally sure that Build 3083 is when i first started noticing it, just when i started to look into the problem more.

Any help or suggestions would be appreciated.

0 Likes