Sublime Forum

ST3 and Large, (e.g. 9GB) Files

#1

After installing a trial version of ST3, I attempted to open a single large .txt file (i.e. almost 10 GB).

For about 10-minutes the status bar progressed but then it stopped at about 20%, and has been that way for a few hours. Same thing yesterday. Is there any setting in ST3 that I can tweak to make this work or is this file just too big?

I’d like to open the .txt file, scroll through, look at and search for records.

0 Likes

#2

Additional details: The attempt by ST3 to open the 9 GB file slowly reached almost 50% progress over the course of another four or so hours when it appeared to have stretched the memory limits of my laptop, which briefly shut off for about a second and then recovered. During that second the app appeared to have shut itself off. Oh well.

0 Likes

#3

This issue - large files support (and, related, very long lines support) - has been raised time and again over the last 5 years. It’s one of my pet beefs with Sublime and I’ve posted on many threads about it at some length (see below for examples).

It’s fairly clear that this is not a priority for team Sublime, a real shame as I routinely have to use another editor for such tasks which really slows my workflow.

I recognise that huge files support is incompatible with the way a number of Sublime features are implemented but many, such as syntax highlighting, aren’t vital for this type of work. A “large files mode” which turns off syntax scopes and defaults to a load on demand / sparse approach would be a huge plus.

I’m also not a fan of the way Sublime handles the situation when it’s getting to breaking point - it just breaks, with no opportunity to gracefully abort or interrupt an operation. That’s not good in a professional tool, and relies on the user just ‘knowing’ what will and won’t break Sublime. It can also lose data if opening or doing a heavy operation on a file crashes sublime (easy to do) with other unsaved buffers open.

So once again - and likely in vain - I’d like to upvote that this gets some attention. And sorry @SClancy that there isn’t more positive news :roll_eyes:

Previous posts on the subject…

https://forum.sublimetext.com/search?expanded=true&q=Large%20filesm

2 Likes