by stuartherbert on Tue Apr 17, 2012 9:47 am
OS: Ubuntu 11.10 64-bit
Starting with Sublime Text 2 2190, any new files created inside Sublime Text 2 don't appear in the 'Folders' group in the sidebar unless I restart Sublime Text 2. The cause is that the operating system is running out of per-user watches (default is 8192). Increasing the 'max_user_watches' in /proc/sys/fs/inotify/ fixes this. Anything calling 'inotify_add_watch(2)' will see this error as ENOSPC (no space left on device).
As far as I can tell, ST2 is the process exhausing the available per-user watches. The project does have more than 8000 files in it, so it isn't a surprise.
In build 2194, if I stop using the Soda theme and restart ST2, the sidebar is completely blank, tabs are unstyled (or rendered as random junk), and none of the pop-up panels render at all.
Best regards,
Stu
--