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

Brackets crashes when opening large js file #4722

Closed
VizuaaLOG opened this issue Aug 9, 2013 · 8 comments
Closed

Brackets crashes when opening large js file #4722

VizuaaLOG opened this issue Aug 9, 2013 · 8 comments
Assignees

Comments

@VizuaaLOG
Copy link
Contributor

When trying to open a large javascript file such as jquery brackets crashes and has to be closed using the task manager in windows. This has only started happening in sprint 28.

@JeffryBooher
Copy link
Contributor

@VizuaaLOG How big is the file you are trying to edit? Can you send me a so I can try to reproduce it? We have a build of Brackets with a new version of CEF coming in Sprint 30 that hopefully fixes your crash.

@ghost ghost assigned JeffryBooher Aug 9, 2013
@JeffryBooher
Copy link
Contributor

Tracking this issue as it may be related to #4400

@peterflynn
Copy link
Member

@VizuaaLOG Is the file you're opening minified? If so, do you have word wrap enabled, or no? There are known performance issues with files that have very long lines.

Also, which version of jQuery are you trying to open?

@VizuaaLOG
Copy link
Contributor Author

@JeffryBooher it is around 80kb because it is jQuery. It just that I may accidentally click on it or when trying to rename the file it crashes brackets

@peterflynn yes it is minified and no word wrap is not on. It is jQuery 1.10.2 I think it is

@peterflynn
Copy link
Member

I expect it is not actually a crash -- probably just a temporary hang due to extremely slow performance with the long, unbroken lines. If you leave it sit for ~1 minute, does it come back to life?

I think we still have an issue / user story open for long-line performance that we can dupe this against, if that does turn out to be the root problem here.

@VizuaaLOG
Copy link
Contributor Author

@peterflynn Just tried to reproduce the crash but even though it has been doing it all the time it just seems to load straight away now.

@peterflynn
Copy link
Member

Changing to medium priority, not tracking, not Win-only -- since this sounds like a dupe of the performance problems with minified files / super-long lines.

@VizuaaLOG if you're not seeing this anymore can we close it?

@VizuaaLOG
Copy link
Contributor Author

@peterflynn no I can no longer see reproduce it.

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

No branches or pull requests

3 participants