sublime-tern icon indicating copy to clipboard operation
sublime-tern copied to clipboard

Plugin causes memory leaks in ST3

Open msemenistyi opened this issue 12 years ago • 8 comments

After installing sublime-tern, Sublime began to work slower. plugin_host.exe was continuously growing and cause Sublime crash. After Sublime-tern removal, everything was fine again.

msemenistyi avatar Oct 28 '13 13:10 msemenistyi

I have a similar problem too, ST3 keep hanging...

ingro avatar Oct 29 '13 19:10 ingro

Same here. At one point it was working very nicely but with the latest releases of sublime text 3 (I am currently on build 3056) it is causing frequent crashes displaying the pin-wheel.

jeffschwartz avatar Nov 29 '13 21:11 jeffschwartz

Having intermittent issues on Mac. CPU usage freezes a 100.4%, RAM stays steady (high but not excessively) and I just get a pinwheel. I've seen it on both 3059 and 3047 thought so I have no clue where the problem is.

WMeldon avatar Dec 18 '13 20:12 WMeldon

I added libraries to exclude by default (e.g./i.e node_modules) and that cleared up the issues. I don't think this is an overall good solution, though. My guess is that there's a lot of recursion being used somewhere which is eating up memory due to the size of a growing stack with each recursive call. Just a guess, though.

jeffschwartz avatar Dec 18 '13 20:12 jeffschwartz

I'd love a debug flag that would warn me about what files were about to be included.

WMeldon avatar Dec 18 '13 22:12 WMeldon

Same here. I don't remember having such a memory leak with ST2.

RDeluxe avatar Jan 16 '14 02:01 RDeluxe

Using with ST3 in windows7. plugin_host.exe was continuously growing and cause Sublime crash. After Sublime-tern removal, everything was fine again.

tutysara avatar Mar 19 '14 04:03 tutysara

I was having the same issue using ST3 on win 7. Once the package was removed everything went back to normal.

rhernandog avatar Jan 15 '15 01:01 rhernandog