Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Brackets becomes unresponsive when working with a large code base #9444

Closed
beldar opened this issue Oct 4, 2014 · 8 comments
Closed

Brackets becomes unresponsive when working with a large code base #9444

beldar opened this issue Oct 4, 2014 · 8 comments

Comments

@beldar
Copy link

beldar commented Oct 4, 2014

When working with a large code base, bracket freezes for a few seconds, and sometimes even permanently.

OS: Mac OS X 10.9.4
Bracket version:
sprint 43 experimental build 0.43.0-14375 (release 2878687)
build timestamp: Tue Sep 02 2014 14:40:48 GMT-0700

@redmunds
Copy link
Contributor

redmunds commented Oct 4, 2014

@beldar Sorry to hear that you're running into problems with Brackets. Read about working with large projects and let us know if that helps.

@tomByrer
Copy link
Contributor

tomByrer commented Oct 7, 2014

I've also noticed that a large file will cause Brackets to freeze on my Win7_64 i7 laptop. Really huge files will also choke Notepadd++. But there is more noticeable lag on medium-large files in Brackets than other native editors. (Atom has similar large-file issue.)

@redmunds
Copy link
Contributor

redmunds commented Oct 7, 2014

@tomByrer What is the size of the file? What type of file is it? Can you post a copy that we can use for testing?

@MarkLeMerise
Copy link

I am trying to open a 390MB XML file on Brackets Sprint 44 (freshly installed on Mac OS X 10.10) and it crashes every time.

@tomByrer
Copy link
Contributor

@redmunds
Copy link
Contributor

@tomByrer Thanks for the sample file. That's a 3+ MB json file. You didn't really say which operation cause a "freeze" and which cause a "lag", so let us know. It might also be related to your hardware spec and what other apps you have running.

FYI, Brackets seems to handle this file pretty well on my system with an SSD drive and 5GB of 8GB RAM in use. File opened in ~0.5 sec and I can scroll around pretty quickly. I'm not a fast typer, but I'm not noticing a lag. I'm on Win7.

@tomByrer
Copy link
Contributor

Yep, big file. I probably should learn how to chop it up in CLI, but perhaps Node could be trained how to do it also (doesn't help with copy/paste though).
5500RPM laptop drive, though I keep my OS drive with lots of room (utilization always below 40%).

@peterflynn
Copy link
Member

@mslemeri: The crash you're reporting will be fixed in #9495, by blocking you from opening files that big. Unfortunately, Brackets simply isn't designed for editing 100MB files at this time.

@tomByrer: A 3MB file should work ok in Brackets, with just a few seconds of lag when it's initially opened. If you're seeing something worse, please open a new issue with details about exactly what actions you're doing and which of them are slow.

@beldar: Since we haven't heard back from you with more info, closing this issue for now. If you can give us more details let us know and we'll reopen this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants