Sublime Forum

Avoid loading large files

#1

Is there a way to stop ST trying to load or reload very large files? I use it to look at debug log files from my code, which sometimes come out vastly bigger than I’m expecting - or I’ve opened one in a tab which is now hidden, and regenerate with different settings, so ST reloads it, and either ST or the entire machine hangs.

I’m aware of previous discussions on this issue, so not expecting a quick fix, but is there anything you can put in your configuration file to say “if the file is bigger than this limit, don’t load it at all and print a warning”. Or a plugin?

Thanks,

Colin

1 Like