Sublime Forum

Excessive Slowness with Package Control

#1

I’m using the standard/stable release of Sublime Text 3, no developer builds.

This has been happening with increasing frequency. Any time ST3 needs to do anything with packages, it tends to slow to a crawl and sometimes freeze completely. Even when doing relatively simple packages like color themes. At the moment I tried to install OrgExtended and it basically continued to keep freezing up until I killed it and restarted.

Are there any currently known issues about how efficient the Package Manager code works? Should I try to update to a dev build (if any are particularly stable enough to try)?

Here after reboot, I tried to go to Preferences >> Package Control and it again mainly paused (we’re talking minutes) and it appears to be trying to reload every single plugin. Now OrgExtended may be a major factor to this because that plugin seems to have about 20-30 different modules. I might need to uninstall that. However even before that, it was having issues, this just brought it to the foreground.

DPI mode: per-monitor v2
startup, version: 3211 windows x64 channel: stable
executable: /C/Program Files/Sublime Text 3/sublime_text.exe
working dir: /C/Program Files/Sublime Text 3
packages path: /C/Users/mark.norton/AppData/Roaming/Sublime Text 3/Packages
state path: /C/Users/mark.norton/AppData/Roaming/Sublime Text 3/Local
zip path: /C/Program Files/Sublime Text 3/Packages
zip path: /C/Users/mark.norton/AppData/Roaming/Sublime Text 3/Installed Packages
ignored_packages: ["Table Editor", "Vintage"]
ignored packages updated to: ["Vintage"]
pre session restore time: 4.11624
startup time: 4.49624
first paint time: 4.50324
git: tracking working dir D:\projects_git\onx10k_fpga
reloading plugin Default.arithmetic
reloading plugin Default.auto_indent_tag
reloading plugin Default.block
reloading plugin Default.colors
reloading plugin Default.comment
reloading plugin Default.convert_color_scheme
reloading plugin Default.convert_syntax
reloading plugin Default.copy_path
reloading plugin Default.detect_indentation
reloading plugin Default.echo
reloading plugin Default.exec
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading plugin Default.indentation
reloading plugin Default.install_package_control
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_context_url
reloading plugin Default.open_in_browser
reloading plugin Default.pane
reloading plugin Default.paragraph
reloading plugin Default.paste_from_history
reloading plugin Default.profile
reloading plugin Default.quick_panel
reloading plugin Default.rename
reloading plugin Default.run_syntax_tests
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.settings
reloading plugin Default.show_scope_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.ui
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
reloading plugin ShellScript.ShellScript
reloading plugin 0_package_control_loader.00-package_control
reloading plugin 0_package_control_loader.01-pygments
reloading plugin 0_package_control_loader.01-ruamel-yaml
reloading plugin 0_package_control_loader.50-dateutil
reloading plugin 0_package_control_loader.50-pathlib
reloading plugin 0_package_control_loader.50-pymdownx
reloading plugin 0_package_control_loader.50-python-markdown
reloading plugin 0_package_control_loader.50-pyyaml
reloading plugin 0_package_control_loader.50-regex
reloading plugin 0_package_control_loader.50-requests
reloading plugin 0_package_control_loader.55-mdpopups
reloading plugin ayu.activation
reloading plugin ayu.Icons
reloading plugin Emacs Pro Essentials.complete_all_buffers
reloading plugin Emacs Pro Essentials.jove
reloading plugin Emacs Pro Essentials.sbp_layout
reloading plugin Emacs Pro Essentials.sbp_rectangle
reloading plugin Emacs Pro Essentials.sbp_register
reloading plugin Emacs Pro Essentials.switch_to_view
reloading plugin Emacs Pro Essentials.white_space_commands
reloading plugin MarkdownPreview.markdown_preview
reloading plugin MarkdownPreview.markdown_settings
reloading plugin MarkdownPreview.markdown_wrapper
reloading plugin Meetio Theme.Icons
reloading plugin OrgExtended.asettings
reloading plugin OrgExtended.orgagenda
reloading plugin OrgExtended.orgbuiltinresources
reloading plugin OrgExtended.orgcapture
reloading plugin OrgExtended.orgcheckbox
reloading plugin OrgExtended.orgclocking
reloading plugin OrgExtended.orgdatepicker
reloading plugin OrgExtended.orgdaypage
reloading plugin OrgExtended.orgdb
reloading plugin OrgExtended.orgduration
reloading plugin OrgExtended.orgdwim
SETTINGS IS NULL? IS THIS BEING CALLED BEFORE PLUGIN START?
reloading plugin OrgExtended.orgdynamicblock
reloading plugin OrgExtended.orgediting
reloading plugin OrgExtended.orgexporter
reloading plugin OrgExtended.orgextended
reloading plugin OrgExtended.orgextension
reloading plugin OrgExtended.orgfolding
reloading plugin OrgExtended.orghtml
reloading plugin OrgExtended.orginsertselected
reloading plugin OrgExtended.orginternalediting
reloading plugin OrgExtended.orginternalhelpers
reloading plugin OrgExtended.orglatex
reloading plugin OrgExtended.orglinks
reloading plugin OrgExtended.orglist
reloading plugin OrgExtended.orgmouse
reloading plugin OrgExtended.orgnavigation
reloading plugin OrgExtended.orgneovi
reloading plugin OrgExtended.orgnotifications
reloading plugin OrgExtended.orgnumberedlist
reloading plugin OrgExtended.orgpandoc
reloading plugin OrgExtended.orgplist
reloading plugin OrgExtended.orgproperties
reloading plugin OrgExtended.orgreadtheorg
reloading plugin OrgExtended.orgrevealjs
reloading plugin OrgExtended.orgsourceblock
reloading plugin OrgExtended.orgswiper
reloading plugin OrgExtended.orgtableformula
reloading plugin OrgExtended.orgtableplot
reloading plugin OrgExtended.orguniqueview
reloading plugin OrgExtended.orgunittests
reloading plugin OrgExtended.orgxmlthemeparser
reloading plugin OrgExtended.packagecon
reloading plugin OrgExtended.pymitter
reloading plugin OrgExtended.simple_eval
reloading plugin Package Control.1_reloader
reloading plugin Package Control.2_bootstrap
reloading plugin Package Control.Package Control
reloading plugin PackageResourceViewer.package_resource_viewer
reloading plugin PackageResourceViewer.package_resources
reloading plugin Pretty JSON.PrettyJson
reloading plugin Pretty JSON.PrettyJsonListeners
reloading plugin ScopeAlways.ScopeAlways
reloading plugin Scratch.Scratch
reloading plugin SystemVerilog.__init__
reloading plugin SystemVerilog.verilog_align
reloading plugin SystemVerilog.verilog_completion
reloading plugin SystemVerilog.verilog_module
reloading plugin SystemVerilog.verilog_navigation
reloading plugin HDL-Outliner.hdl_outline
reloading plugin Print to HTML.PrintToHTML
reloading plugin Scratch.shift_test
reloading plugin VHDL Mode.vhdl_interface
reloading plugin VHDL Mode.vhdl_lang
reloading plugin VHDL Mode.vhdl_mode
reloading plugin VHDL Mode.vhdl_subprogram
reloading plugin VHDL Mode.vhdl_util
plugins loaded
orgDir path c:/Users/ian/notes does not exist!
Installing `Table Editor` ..
ignored packages updated to: ["Table Editor", "Vintage"]
reloading settings Packages/User/Package Control.sublime-settings
Installing `PowerShell` ..
ignored packages updated to: ["PowerShell", "Table Editor", "Vintage"]
reloading settings Packages/User/Package Control.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
reloading settings Packages/User/Package Control.sublime-settings
ignored packages updated to: ["PowerShell", "Vintage"]
ignored packages updated to: ["Vintage"]
reloading plugin Table Editor.table_base
reloading plugin Table Editor.table_border_syntax
reloading plugin Table Editor.table_emacs_org_mode_syntax
reloading plugin Table Editor.table_lib
reloading plugin Table Editor.table_lib_test
reloading plugin Table Editor.table_line_parser
reloading plugin Table Editor.table_multi_markdown_syntax
reloading plugin Table Editor.table_pandoc_syntax
reloading plugin Table Editor.table_plugin
reloading plugin Table Editor.table_plugin_test
reloading plugin Table Editor.table_re_structured_text_syntax
reloading plugin Table Editor.table_simple_syntax
reloading plugin Table Editor.table_textile_syntax
reloading plugin Table Editor.widechar_support
generating syntax summary
generating meta info summary
reloading settings Packages/User/Package Control.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
Package Control: Installing 2 missing packages
ignored packages updated to: ["PowerShell", "Table Editor", "Vintage"]
reloading settings Packages/PowerShell/Support/PowershellSyntax.sublime-settings
generating syntax summary
generating meta info summary
unloading plugin Table Editor.table_base
unloading plugin Table Editor.table_border_syntax
unloading plugin Table Editor.table_emacs_org_mode_syntax
unloading plugin Table Editor.table_lib
unloading plugin Table Editor.table_lib_test
unloading plugin Table Editor.table_line_parser
unloading plugin Table Editor.table_multi_markdown_syntax
unloading plugin Table Editor.table_pandoc_syntax
unloading plugin Table Editor.table_plugin
unloading plugin Table Editor.table_plugin_test
unloading plugin Table Editor.table_re_structured_text_syntax
unloading plugin Table Editor.table_simple_syntax
unloading plugin Table Editor.table_textile_syntax
unloading plugin Table Editor.widechar_support
reloading settings Packages/User/Package Control.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
Package Control: Error sorting versions - '2.x' is not a valid SemVer string
Package Control: Installed missing package PowerShell
ignored packages updated to: ["Table Editor", "Vintage"]
reloading settings Packages/PowerShell/Support/PowershellSyntax.sublime-settings
generating syntax summary
generating meta info summary
reloading settings Packages/User/Package Control.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
Package Control: Installed missing package Table Editor
ignored packages updated to: ["Vintage"]
reloading plugin Table Editor.table_base
reloading plugin Table Editor.table_border_syntax
reloading plugin Table Editor.table_emacs_org_mode_syntax
reloading plugin Table Editor.table_lib
reloading plugin Table Editor.table_lib_test
reloading plugin Table Editor.table_line_parser
reloading plugin Table Editor.table_multi_markdown_syntax
reloading plugin Table Editor.table_pandoc_syntax
reloading plugin Table Editor.table_plugin
reloading plugin Table Editor.table_plugin_test
reloading plugin Table Editor.table_re_structured_text_syntax
reloading plugin Table Editor.table_simple_syntax
reloading plugin Table Editor.table_textile_syntax
reloading plugin Table Editor.widechar_support
reloading settings Packages/User/Package Control.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
Package Control: No updated packages

This is what ran (minus the opening part) when I went to Preferences >> Package Control.

0 Likes

#2

Perhaps a little annoylingly the usual reply to something like this is revert to freshly installed state
(@bschaaf :stuck_out_tongue_winking_eye:) It’s actually pretty easy to do (even I can do it and I’m a noob). The reason being it might be a package conflict or something. If ST3 works on the freshly installed state at least you know it’s not ST3 and it’s a package. Then it’s a process of deduction installing one package after another.
Unless I’m barking up the wrong tree completely (which is quite possible), and then hopefully someone who really knows what they’re talking about will save me/us…

0 Likes

#3

Oh I’m sure that would do something, and probably mostly positive. There was a point about 6-9 months ago (kind of guessing here) when the code to Package Control updated. I could swear at that point, the update process started taking longer then, but that’s purely anecdotal. I’ll probably consider reloading it, but if there’s some sort of practical limit on the way PC’s Sublime Code handles things, maybe that’s something for devs to consider (and maybe they already have with the upcoming 4… I don’t keep track of that very closely.)

0 Likes

#4

Package Control doesn’t reload your packages, but installs updates for you. The delay you see in launching Package Control is normally it downloading the list of available packages. There should be a little activity indicator in the status bar while the download is happening.

Your log, however, shows that something appears to be deleting packages off of your filesystem, but not properly marking the package as removed, so Package Control is reinstalling it for you. This functionality is designed to allow syncing packages across different operating systems.

0 Likes

#5

Well that’s weird. I have nothing that observes that folder or does anything like that. It might be a good idea to wipe everything and restart in that case. If I get to a point where I’m not doing as much actively on the project I’ll give that a shot.

0 Likes