You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
Loading large file with many lines sometimes hangs or crashes the editor #8864
File that has 140000 lines can reproduce this issue.
Sublime Text 3 release version has no this problem.
Reacted by Hal Carleton, Moriarty!~~, mglaze, Piotr Mionskowski, Hinsteny Hisoka, Neithan, Chris Marx, Dheeraj Avvari, adamw005, Artur Lomsadze and 1 more
I'm actually not sure if this is a dupe of #979 – @fewspider mentions that this happens with a file with 140,000 lines, rather than a single really long line.
@fewspider Can you reproduce this by completely quitting Atom and restarting it in in safe mode? (atom --safe)
@mnquintana My atom version is 1.0.15, atom --safe is OK👌. My file is a sql file, the syntax highlighting is not working,when atom or atom --safe. Just a guess, the syntax highlighting problem happens in large file.
changed the title [-]Loading large file with many lines sometimes unresponsive[/-][+]Loading large file with many lines sometimes hangs or crashes the editor[/+]on Jun 29, 2016
@rsese Yes...it's minified. I see the issue has been around for a while. It seems that it may be fixed in Atom 1.15.0-beta3. I guess I'll give it a try :-) Thank you for the reference :-)
I can confirm that I was able to open the Laravel app.js file in Atom 1.15.0-beta3 with no problem. Thank you Team Atom! :-)
@chriszrc Are you sure you used Atom 1.15.0-beta3? It runs along side of your previous version of Atom, so make sure you chose the right one. I hope this helps :-)
Hey people! Larger files don't work on Atom, both stable and beta and can't be syntax-highlighted. Only smaller and separated files work on Atom.
Firstly work with smaller and separated files on Atom, and when you want to unify all small and separated files into one and to load larger files, with syntax highlighting, use Sublime Text.
I build economic models and the listing files that GAMS produces can be quite large >25MB. It would be convenient to open these in Atom, since I do some GAMS development in Atom (and the text editor in GAMS is rather basic).
I am getting hangs on a file with 5000 lines, problem still persisting in newest beta.
Starting with --safe does absolutely nothing.
I dont care if I dont get syntax hilight etc. The problem is that if you have opened that file once, re-opening atom in that folder will keep your atom editor locked forever.
@olivermt Are you on Windows with spell-check enabled? We have an open issue for spell-check causing performance issues on Windows atom/spell-check#190
Disabling spell-check does not improve at all on JSON load performance. Where in Sublime (2 or 3 doesnt matter) the file opens instantly, atom displays a "Wait for atom" message after loading the file some seconds and then taking another many seconds to finally load the file. 2.7MB one line file.
@pke there are many different reasons for slow performance - there is not a single "catch-all" silver bullet for these types of issues. In your case, please make sure you are running at least Atom 1.15.0, which contains many performance improvements for large files.
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!
Activity
OmgImAlexis commentedon Sep 21, 2015
Duplicate #979
winstliu commentedon Sep 21, 2015
Thanks @OmgImAlexis.
mnquintana commentedon Sep 21, 2015
I'm actually not sure if this is a dupe of #979 – @fewspider mentions that this happens with a file with 140,000 lines, rather than a single really long line.
@fewspider Can you reproduce this by completely quitting Atom and restarting it in in safe mode? (
atom --safe)ohcrfpv commentedon Sep 22, 2015
@mnquintana My atom version is
1.0.15,atom --safeis OK👌. My file is a sql file, the syntax highlighting is not working,whenatomoratom --safe. Just a guess, the syntax highlighting problem happens in large file.centic9 commentedon Oct 5, 2015
Sounds like being related to syntax highlighting and thus sounds like a duplicate of #6642
[-]load large file sometimes unresponsive[/-][+]Loading large file with many lines sometimes unresponsive[/+][-]Loading large file with many lines sometimes unresponsive[/-][+]Loading large file with many lines sometimes hangs or crashes the editor[/+]17 remaining items
superjoefly commentedon Feb 28, 2017
@rsese Yes...it's minified. I see the issue has been around for a while. It seems that it may be fixed in Atom 1.15.0-beta3. I guess I'll give it a try :-) Thank you for the reference :-)
chriszrc commentedon Feb 28, 2017
I'm on 1.15.0-beta3 and I still can't open a 35MB json file :'(
superjoefly commentedon Mar 1, 2017
I can confirm that I was able to open the Laravel app.js file in Atom 1.15.0-beta3 with no problem. Thank you Team Atom! :-)
@chriszrc Are you sure you used Atom 1.15.0-beta3? It runs along side of your previous version of Atom, so make sure you chose the right one. I hope this helps :-)
gusbemacbe commentedon Mar 1, 2017
Hey people! Larger files don't work on Atom, both stable and beta and can't be syntax-highlighted. Only smaller and separated files work on Atom.
Firstly work with smaller and separated files on Atom, and when you want to unify all small and separated files into one and to load larger files, with syntax highlighting, use Sublime Text.
wogandavid commentedon Mar 3, 2017
I build economic models and the listing files that GAMS produces can be quite large >25MB. It would be convenient to open these in Atom, since I do some GAMS development in Atom (and the text editor in GAMS is rather basic).
olivermt commentedon Mar 7, 2017
I am getting hangs on a file with 5000 lines, problem still persisting in newest beta.
Starting with --safe does absolutely nothing.
I dont care if I dont get syntax hilight etc. The problem is that if you have opened that file once, re-opening atom in that folder will keep your atom editor locked forever.
Solution is to kill all atom data and reinstall.
olivermt commentedon Mar 7, 2017
Actually, in newest beta, deleting the file kills the deadlock.. so there's that!
Ben3eeE commentedon Mar 7, 2017
@olivermt Are you on Windows with spell-check enabled? We have an open issue for spell-check causing performance issues on Windows atom/spell-check#190
olivermt commentedon Mar 7, 2017
@Ben3eeE indeed that test locks up my editor!
Shouldnt atom --safe have disabled that though?
Ben3eeE commentedon Mar 7, 2017
@olivermt
atom --safeonly disables community packages.spell-checkis a core package that is bundled with Atom.olivermt commentedon Mar 7, 2017
Wish I knew about that bug before spending 2-3 hours disabling all kinds of weird stuff, reinstalling, tracing here and there blablabla :)
Anyways, that fixes the issue completely for me. Greatly appreciated @Ben3eeE 🥇
pke commentedon Mar 24, 2017
Disabling spell-check does not improve at all on JSON load performance. Where in Sublime (2 or 3 doesnt matter) the file opens instantly, atom displays a "Wait for atom" message after loading the file some seconds and then taking another many seconds to finally load the file. 2.7MB one line file.
winstliu commentedon Mar 24, 2017
@pke there are many different reasons for slow performance - there is not a single "catch-all" silver bullet for these types of issues. In your case, please make sure you are running at least Atom 1.15.0, which contains many performance improvements for large files.
lock commentedon Apr 2, 2018
This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!