emmetio / sublime-tern

TernJS plugin for Sublime Text
222 stars 15 forks source link

Plugin causes memory leaks in ST3 #34

Open msemenistyi opened 10 years ago

msemenistyi commented 10 years ago

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.

ingro commented 10 years ago

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

jeffschwartz commented 10 years ago

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.

WMeldon commented 10 years ago

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.

jeffschwartz commented 10 years ago

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.

WMeldon commented 10 years ago

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

RDeluxe commented 10 years ago

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

tutysara commented 10 years ago

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

rhernandog commented 9 years ago

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