Sublime Forum

Sublime Text 3 build 3170 crashes if I try to remove Sublime Linter or if it runs

#1

I’m on Mac OS X 10.12.6
It all seemed to work ok for a day or so but as of this morning I started getting a Sublime Linter error. If I try to remove this package (or JsHint). I just get the spinning beachball of death.

I would have attached the crash report but it’s too large to paste in and your site doesn’t accept text file uploads.

0 Likes

#2

Just an update… the crash happens whenever the linter runs as well, so Sublime is unusable at present. I’m forced to switch to vscode.

0 Likes

#3

so, just to get it right, an external plugin is making the main program unstable and you blame the latter?
did you tried to just disable, not remove, sublime_linter?

0 Likes

#4

To be clear, I’m not blaming anyone or anything. I just have an unusable system. Disable may be a workaround but not being able to remove an application is not ideal. The reason I use Sublime generally is because it is ideal.

I tried to disable it by adding it to the ignored_packages list but I get the same crash.

Also – from a user perspective… if I have a working Sublime system which includes a package and then I upgrade Sublime, it is the Sublime upgrade that caused the issue, not the package. Obviously this is not the case from a developer perspective but keep in mind that in the context of being a sublime Sublime customer I am a user.

0 Likes

#5

Ok so disabling caused a crash but on next open it was disabled and I could then uninstall the SublimeLinter package. Back to normality, more or less.

0 Likes

#6

Glad you solved the issue.
Btw yes I was suggesting to disable in order to be able to uninstall it, sorry it wasn’t clear :slight_smile:
I suggest you to file an issue on sublime-linter repo.

0 Likes

#7

Actually the above didn’t solve the issue after all. I thought it had but actually not.

I then removed all packages (except for the package manager) and the problem persisted. Using top I could then see that there was very obviously a memory leak. The application started out with 20% cpu usage and about 20MB of RAM usage. Watching top (with no files open and a blank new window of Sublime open only) I could see the RAM usage steadily ramping up by about 20MB per second… and it just kept going up till it maxed out at about 8GB and the CPU usage at about 400%. It also spawned a second process.

I then tried deleting the data folder (i.e. ~/Library/Application Support/Sublime Text 3) and watched top again. After that it seemed to be behaving… top showed RAM usage as stable @ 49MB

Next I opened a project. I initially got 2 Sublime processes in top; one with 49MB and the other with about 200MB… after about 30 seconds they seemed to combine into a single process with about 330MB RAM usage (which seems a bit extreme but at least it’s not ramping up).

0 Likes