Sublime Forum

Build 3080

#13

I’m having the same issue with the new version. It’s using 85% of my CPU whenever I’m using the editor. Does anyone know how to go back to a previous build? I can’t find downloads to previous versions. Really sorry I upgraded today. I’m not able to get my work done. Bummers!

0 Likes

#14

High CPU usage on Macbook Pro too. Rollback to 3065 restored normal behavior.

Build 3065
c758482.r82.cf2.rackcdn.com/Subl … 203065.dmg

0 Likes

#15

CPU issues may very well be plugin related. It is possible that a specific plugin you are using needs to update how it does things to be 3080 compatible. Being on the dev branches for a while now, and using sublime on different platforms, I am not experienced high CPU.

0 Likes

#16

From what I understand, the old ST folder is completely removed and a new ST instance is set up in a different folder, which is then renamed to the original ST folder name. I don’t know if this deletion is permanent or if it is moved to trash. I could also be wrong, of course.
Anyway, don’t manually save configuration files in a Program Files folder ever. This falls under the holy reign of the program(s). Use your User, your AppData or any other folder instead.

Regarding the high-CPU usage: There have been reports of this on the issue tracker as well.
github.com/SublimeTextIssues/Core/issues/747
github.com/SublimeTextIssues/Core/issues/742
github.com/SublimeTextIssues/Core/issues/739

0 Likes

#17

The CPU usage issues that I’ve seen so far is 3080 are caused by a corrupted index (3080 handles this situation differently than 3065), and can be fixed by deleting your Index directory. There should be a message in the console thing this occurs, and the same message will indicate where the directory is.

More details are at sublimetext.com/blog/articles/file-indexing

0 Likes

#18

I can’t open Command Palette without crashing now since updating to 3080. https://forum.sublimetext.com/t/build-3080-command-palette-crashing/14749/1

0 Likes

#19

I actually experience the reindexing as well now, but only if I save a certain file. Whenever I edit “Packages/PythonImproved/PythonImproved.tmLanguage”, either manually in ST or if I generate it using AAAPackageDev, ST spawns 8 indexing processes (for my 4cores+HT) which are running at 12.5% each for a few seconds. The status bar also shows the indexing percentage.

I am unable to reproduce this with any other file. I usually have this syntax set to be the default for Python files (".py") and I have my whole Packages folder open as a project, but even when I changed the default syntax to the bundled Python.tmLanguage and then edited/changed that file it would not trigger indexing. If I changed the PythonImproved file it would reindex however, even if it is not set as the default syntax for .py files (verified). I have a total of 9 Python files open in two windows, it is completely unreasonable to exhaust my CPU for several seconds for those.

Multile restarts of ST also didn’t help. I don’t see a message about a corrupted index in the console either.

With sublime.log_indexing(True) I was able to observe the following:

  • When I save Python.tmLanguage (currently default for .py files) I see this:

indexing [queue 6]: spawning 1 workers to process 1 / 1 files indexing [queue 6]: indexed 1 files

  • When I save PythonImproved.tmLanguage I see this:

indexing [queue 7]: spawning 4 workers to process 705 / 705 files indexing [queue 8]: spawning 4 workers to process 4009 / 4009 files indexing [queue 7]: indexed 705 files indexing [queue 8]: indexed 4009 files

Edit: Removing (actually renaming) the Index directory also didn’t help.

0 Likes

#20

@FichteFoll, whenever any tmLanguage file is changed all files are reindexed. It would be possible to track dependencies more closely, so only a minimal set of files are reindexed, but it’s just not worth spending the code complexity on this: for the vast majority of users, a tmLanguage file being updated is a rare event.

Options are to either disable file indexing when working on a tmLanguage file, or don’t edit tmLanugage files while a large project is open.

1 Like

#21

@jps, I wonder about that, because editing Python.tmLanguage didn’t have that effect. Even when I set it to be the default syntax (using the menu and verifying with syntax-specific settings).

I also haven’t seen this behaviour before, maybe ~2 months ago, so I assume this is a more recent dev build change (3075 maybe)?

Edit: I noticed that you fixed server time and post dates are now accurate, except for errorneously set DST. Thanks for that.

0 Likes

#22

Thanks for the info - will fix for the next build

1 Like

#23

After updating 3080, all things are looking normal, but ‘next_result’ doesn’t work anymore, I’m using a portable version on Windows, I wonder anyone else enter the same problem??

0 Likes

#24

As by github.com/titoBouzout/FindResu … s/issues/8, it appears that @ownself’s problem is related to a package.

0 Likes

#25

[quote=“jagermesh”]After upgrade I have issues with CPU overload. Rolled back to previous version.
MacBook Pro Retina, 16GB RAM[/quote]

I can confirm same cpu issues, after upgrading sublime process is taking 30% to 40% of cpu usage (using a portable version on windows).

0 Likes

#26

I upgraded my st3 to 3080 and remote php files opened with sftp in sidebar are no longer available after i close the program. Previous session is lost if i close the program.

Steps:

  1. I open my file with sftp and the file is stored:
    C:\users…\appdata\local\temp\sublime-sftp-browse-TIMESTAMP\siteprofile\public_html\file.php

2.When i close st3 the file.php is deleted automaticaly

3.When i reopen st3
Unable to open /C/users/…/appdata/local/temp/sublime-sftp-browse-TIMESTAMP/siteprofile/public_html/file.php

… other files opend from local machine are reloded …

In previouse version of st3 there was no problem…

0 Likes

#27

[paranoia]
Would it be possible to have the download files be hosted on an https server and/or provide md5sums for each download? Just to be certain that the binary blob is not tampered with before I install…
[/paranoia]

0 Likes

#28

Is there a crash log somewhere with more info on why it’s crashing? Whether it be a 3rd party package or something? Either way, it happens on both my computers now, and only since yesterday’s 3080.

*Update: I found an empty build file in my user folder (thank you to other comments on the forum here) which fixed my crashing. It would still be nice to know if there’s a better way to debug crashes via crash log. I found a sweet spot with my packages, but in the beginning I found Sublime was very unstable due to package conflicts between user made packages, usually in the form of plugin_host error followed by crash. However, finding out more about those conflicts seemed very trial and error, had me going in circles for weeks :frowning: Is there such a crash log somewhere with more info?

0 Likes

#29

Did it get retracted? I just opened Sublime and it told me there was an update, then it said it was already up to date (or something like that) while it’s still at 3065. Also the download page lists 3065 and not 3080.

0 Likes

#30

Looks alright to me, 3080 all over the place: sublimetext.com/3

0 Likes

#31

Weird stuff. Maybe it was right when 3083 was being uploaded or something.

0 Likes

#32

Hrmm, subtractive mouse selection seems to be broken for me.

e.g) Left click and drag from line 60 to 20. Hold Shift and click on line 40. Instead of the selection subtracting down to lines 40-60 the cursor just moves to the end of the selection. Additive mouse selection is working though. If you hold shift and click on line 10 the selection is now expanded to lines 10-60.

0 Likes