Sublime Forum

200Mb single line file became a problem?

#1

Hi,
I remember that 5 years ago I was able to open files were larger than 1Gb.
Now when I try to open ~180Mb file with almost single lien the editor is unusable.

Was it this way all the time? I thought it was performing better than notepad++.

0 Likes

#2

Is it any better in safe mode? If so then this is likely due to a plugin.

0 Likes

#3

SafeMode did not help.
To solve my problem I opened “Lister” on windows (readonly mode) and copied piece of text that I needed.It does not matter if I use “word wrap” or not, it take a lot of time to load.
After it is open, the scrolling is super slow and laggy. Lag for cursor move is more than 2 sec. All UI interactions are like with 2sec delay.
Replace with regex make it hang.
Seems it is just beyond its capabilities.
I suspect the devs know about it and chose this tradeoff.
Notepad++ also fails to operate.

0 Likes

#4

I would expect the editor to understand the layout of a file during the open operation and if it sees that there are long lines that are not supported, then switch the mode, inform the user, and work at least as a “lister”.

0 Likes

#5

hm… I installed sublime2 and it performs even worse. So it is not degradation, just my poor memory of the use case. But my suggestion to enable a specific mode for long lines should be taken into consideration.

0 Likes