Skip to content
This repository was archived by the owner on Mar 3, 2023. It is now read-only.
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

Closed

Description

@ohcrfpv

File that has 140000 lines can reproduce this issue.
Sublime Text 3 release version has no this problem.

Activity

  1. OmgImAlexis commented on Sep 21, 2015

    @OmgImAlexis

    Duplicate #979

  2. winstliu commented on Sep 21, 2015

    @winstliu
    Contributor

    Thanks @OmgImAlexis.

  3. mnquintana commented on Sep 21, 2015

    @mnquintana
    Contributor

    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)

  4. ohcrfpv commented on Sep 22, 2015

    @ohcrfpv
    Author

    @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.

  5. centic9 commented on Oct 5, 2015

    @centic9

    Sounds like being related to syntax highlighting and thus sounds like a duplicate of #6642

  6. changed the title [-]load large file sometimes unresponsive[/-] [+]Loading large file with many lines sometimes unresponsive[/+] on Jan 19, 2016
  7. 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
  8. 17 remaining items

  9. superjoefly commented on Feb 28, 2017

    @superjoefly

    @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 :-)

  10. chriszrc commented on Feb 28, 2017

    @chriszrc

    I'm on 1.15.0-beta3 and I still can't open a 35MB json file :'(

  11. superjoefly commented on Mar 1, 2017

    @superjoefly

    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 :-)

  12. gusbemacbe commented on Mar 1, 2017

    @gusbemacbe

    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.

  13. wogandavid commented on Mar 3, 2017

    @wogandavid

    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).

  14. olivermt commented on Mar 7, 2017

    @olivermt

    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.

  15. olivermt commented on Mar 7, 2017

    @olivermt

    Actually, in newest beta, deleting the file kills the deadlock.. so there's that!

  16. Ben3eeE commented on Mar 7, 2017

    @Ben3eeE
    Contributor

    @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

  17. olivermt commented on Mar 7, 2017

    @olivermt

    @Ben3eeE indeed that test locks up my editor!

    Shouldnt atom --safe have disabled that though?

  18. Ben3eeE commented on Mar 7, 2017

    @Ben3eeE
    Contributor

    @olivermt atom --safe only disables community packages. spell-check is a core package that is bundled with Atom.

  19. olivermt commented on Mar 7, 2017

    @olivermt

    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 🥇

  20. pke commented on Mar 24, 2017

    @pke

    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.

  21. winstliu commented on Mar 24, 2017

    @winstliu
    Contributor

    @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.

  22. lock commented on Apr 2, 2018

    @lock

    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!

  23. locked and limited conversation to collaborators on Apr 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions