Starting in a semi-recent version of Sublime Text 3 (dev build - currently running 3175), I started noticing that certain packages and build scripts stop working after Sublime has been open for a while. This could very well be related to the fact that I keep a zillion windows open and rarely quit Sublime Text, but the stack trace is:
Traceback (most recent call last):
File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 1072, in run_
return self.run(edit)
File "/Users/craig/Library/Application Support/Sublime Text 3/Installed Packages/Git.sublime-package/git/statusbar.py", line 22, in run
File "/Users/craig/Library/Application Support/Sublime Text 3/Installed Packages/Git.sublime-package/git/__init__.py", line 279, in run_command
File "./python3.3/threading.py", line 840, in start
RuntimeError: can't start new thread
Any ideas would be greatly appreciated. Once it starts happening, the only things I have found that works is to quit and reopen Sublime Text.
It is also possible this is an issue with the git sublime package (or another one) that is opening threads without the processes ever getting killed.