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

Brackets freezes on startup with large files #7223

Closed
PabloK opened this issue Mar 18, 2014 · 16 comments
Closed

Brackets freezes on startup with large files #7223

PabloK opened this issue Mar 18, 2014 · 16 comments

Comments

@PabloK
Copy link

PabloK commented Mar 18, 2014

When having accidently opened a large or unopenable file brackets may become hard to open as it will continue to preload these files upon opening.

Expected behaviour files that take to long to open or are not openable ahould not be preloaded.

@peterflynn
Copy link
Member

@PabloK How large is the file? Is it a JS file, or something else? Is it minified?

If it's possible, can you post the file online somewhere so we can take a look at it?

Also, can you check to make sure this still happens even if you use Debug > Reload Without Extensions? (if you have any extensions installed)

@PabloK
Copy link
Author

PabloK commented Mar 19, 2014

I cant send the file but I can tell you its size to morrow. It is a very large text file though. Probably a few hundred megabytes. The problem in my oppinion is brackets loads it so slow and during loaf I cant give indtructions not to load it. Eventually it will load. So the issue is that there is no effective way to remove it from auto load. Since it is in the opened files list. Do you need more info?

@peterflynn peterflynn added this to the Brackets 1.0 milestone Mar 19, 2014
@peterflynn
Copy link
Member

Is it plain text -- is the file extension .txt? Can you tell me more specifically how many MB it is?

Also, do you have any extensions installed? If so, does this still happen when they're all disabled? (see https://github.com/adobe/brackets/wiki/Troubleshooting#wiki-disable-all-extensions for details)

@peterflynn
Copy link
Member

@PabloK Any updates? I posted some questions above...

@PabloK
Copy link
Author

PabloK commented Mar 26, 2014

I will try to see if the extension I have effects this but it is only theme related so Imagine it should not. I cant sed the file as it is workrelated. The file is a few hundred mb. What im requeating is simply a feature that stops preloading of previously opened files if they are taking a certain amount of time. Perhaps confifurable? Is this a feature you are planning to integrate?

@PabloK
Copy link
Author

PabloK commented Mar 26, 2014

I have disabled all plugins and also I think I have upgraded brackets to the latest version and when opening a large file I currently get the following error.

image

@PabloK
Copy link
Author

PabloK commented Mar 26, 2014

This file is a 2.2GB text file

@njx
Copy link

njx commented May 1, 2014

Reviewed. For 1.0, let's pick a size limit and just refuse to read the file (and show a more specific error message) if we know that the file is too large when we stat it (before we even read it). We could even do this at the filesystem level and just return a specific "file too large" error before reading it.

@redmunds
Copy link
Contributor

Starting in Release 0.45, Brackets limits file size to 16MB.

@peterflynn
Copy link
Member

Closing as fixed

@koko236
Copy link

koko236 commented May 19, 2015

The 16MB file size limit seems to affect opening psd files with Extract. As a result Extract is of rather limited use as PSDs tend to get much larger pretty quick.

@abose
Copy link
Contributor

abose commented May 19, 2015

Extract does not have a PSD file size limitation of 16MB as far as i know.
@prafulVaishnav

@koko236
Copy link

koko236 commented May 19, 2015

Allright, my bad, nevermind. I get some other unspecified error when opening psd via extract and this is different from the size limit error I get when I try to simply open psd in brackets.

@LukeXF
Copy link

LukeXF commented Jul 10, 2015

Can you give us the option to edit our file sizes? I can't import my 112mb PSD file and it's really frustrating. Any guidance on where I can change the MAX_FILE_SIZE_MB on a mac? I can't find the location

@calinbalea
Copy link

Hey guys,

I'm a newb to all this but I sort of have this same problem.
I have a psd of about 45 mb. Brackets takes about 20-25 min to load it. Is this normal?

@tufailmirr
Copy link

But it's showing some 30000 files handling issue and opens becomes responsive after about 5 min then works fine

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

13 participants