Sublime Forum

Deleting Cache and Index Folder on Mac

#1

My Sublime Text 3 (2126) has been freezing a lot lately - I have read (forums) that suggest removing the Cache and Index folders (a post re problems since 3124). Is there any downside here? (Another forum post said - for PC running 3109 - Sublime would not work after clearing the cache)?

Have looked at the option of a fresh install (ie removing - after talking a backup copy - the Data Folder. The Mac has no Data folder but I understand that the documentation is worded badly and that the Data Folder is in fact the Sublime Text 3 folder.

I would rather not do a fresh install if the remove cache/index option might resolve the issue.

0 Likes

#2

There’s no harm in deleting those folders, but if you’re seeing freezing chances are it’s coming from a plugin - you may be able to find some information about which one from the Tools/Developer/Profile Plugins menu

4 Likes

#3

Thanks jps. I cant see anything in the plugin list (but I’m from a tech background). Only thing that stands out is the ColorHelper, LiveStyle and CodeIntel. Might try removing the cache/index folders and if that has no impact on crashing /freezing I’ll start adding plugins to ignored packages to find a culprit. Thanks for the help.

This list shows how much time each plugin has taken to respond to each event:

on_activated:
SublimeCodeIntel.SublimeCodeIntel: 0.003s total
Text Pastry.text_pastry_clipboard: 0.000s total, mean: 0.000s, max: 0.000s
LiveStyle.livestyle-plugin: 0.004s total
BracketHighlighter.bh_core: 0.000s total
Color Highlighter.ColorHighlighter: 0.000s total
TabsExtra.tabs_extra: 0.000s total
AutoFileName.autofilename: 0.000s total
SublimeServer.SublimeServer: 0.000s total
Default.pane: 0.000s total
SideBarEnhancements.SideBar: 0.000s total, mean: 0.000s, max: 0.000s
Origami.origami: 0.000s total
FT Origami.OrigamiColorHighlighter: 0.003s total
Text Pastry.text_pastry_selection: 0.000s total
SublimeLinter.sublimelinter: 0.000s total
SFTP.sftp.listeners: 0.001s total, mean: 0.000s, max: 0.001s
ColorHelper.color_helper: 0.008s total
Clickable URLs.clickable_urls: 0.003s total
FileDiffs.file_diffs: 0.000s total

0 Likes

#4

You should be using ST a bit, ideally so much that it has hanged at least once, before profiling events; otherwise you won’t get useful results.
There should be many more events profiled.

4 Likes

#5

Thanks I see what you mean (as below). I went through my packages and removed a lot and the problem seems to have gone away (a lot of the linters which I dont use really being a beginner). Removed a lot of themes/colors and other packages not often used.

This list shows how much time each plugin has taken to respond to each event:

on_activated:
Clickable URLs.clickable_urls: 0.003s total, mean: 0.000s, max: 0.001s
AutoFileName.autofilename: 0.000s total, mean: 0.000s, max: 0.000s
BracketHighlighter.bh_core: 0.048s total, mean: 0.008s, max: 0.047s
LiveStyle.livestyle-plugin: 0.025s total, mean: 0.004s, max: 0.017s
Color Highlighter.ColorHighlighter: 0.061s total, mean: 0.010s, max: 0.052s
ColorHelper.color_helper: 0.040s total, mean: 0.007s, max: 0.026s
FileDiffs.file_diffs: 0.000s total, mean: 0.000s, max: 0.000s
SideBarEnhancements.SideBar: 0.000s total, mean: 0.000s, max: 0.000s
Default.pane: 0.000s total, mean: 0.000s, max: 0.000s

on_close:
Clickable URLs.clickable_urls: 0.000s total, mean: 0.000s, max: 0.000s
LiveStyle.livestyle-plugin: 0.001s total, mean: 0.000s, max: 0.000s
Color Highlighter.ColorHighlighter: 0.000s total, mean: 0.000s, max: 0.000s
Default.settings: 0.000s total, mean: 0.000s, max: 0.000s
SideBarEnhancements.SideBar: 0.000s total, mean: 0.000s, max: 0.000s
Default.pane: 0.000s total, mean: 0.000s, max: 0.000s

on_deactivated:
Default.history_list: 0.008s total, mean: 0.002s, max: 0.008s

on_hover:
JavaScript Completions._generated_2017_04_09_at_16_06_42: 0.000s total, mean: 0.000s, max: 0.000s
BracketHighlighter.bh_core: 0.000s total, mean: 0.000s, max: 0.000s
Default.symbol: 0.000s total, mean: 0.000s, max: 0.000s

on_load:
Clickable URLs.clickable_urls: 0.000s total, mean: 0.000s, max: 0.000s
BracketHighlighter.bh_core: 0.000s total, mean: 0.000s, max: 0.000s
LiveStyle.livestyle-plugin: 0.001s total, mean: 0.000s, max: 0.001s
Color Highlighter.ColorHighlighter: 0.026s total, mean: 0.009s, max: 0.013s
Default.detect_indentation: 0.009s total, mean: 0.003s, max: 0.004s
Default.exec: 0.000s total, mean: 0.000s, max: 0.000s

on_modified:
Clickable URLs.clickable_urls: 0.000s total, mean: 0.000s, max: 0.000s
SideBarEnhancements.Stats: 0.000s total, mean: 0.000s, max: 0.000s
AutoFileName.autofilename: 0.000s total, mean: 0.000s, max: 0.000s
BracketHighlighter.bh_core: 0.000s total, mean: 0.000s, max: 0.000s
LiveStyle.livestyle-plugin: 0.000s total, mean: 0.000s, max: 0.000s
BracketGuard.BracketGuard: 0.000s total, mean: 0.000s, max: 0.000s
Color Highlighter.ColorHighlighter: 0.000s total, mean: 0.000s, max: 0.000s
ColorHelper.color_helper: 0.000s total, mean: 0.000s, max: 0.000s
Default.settings: 0.000s total, mean: 0.000s, max: 0.000s
SideBarEnhancements.SideBar: 0.000s total, mean: 0.000s, max: 0.000s

on_pre_close:
Default.settings: 0.000s total, mean: 0.000s, max: 0.000s
Default.history_list: 0.000s total, mean: 0.000s, max: 0.000s

on_selection_modified:
Color Highlighter.ColorHighlighter: 0.086s total, mean: 0.017s, max: 0.071s
ColorHelper.color_helper: 0.000s total, mean: 0.000s, max: 0.000s
SideBarEnhancements.Stats: 0.000s total, mean: 0.000s, max: 0.000s
BracketHighlighter.bh_core: 0.000s total, mean: 0.000s, max: 0.000s

0 Likes