Unable to open files more than 1Mb?



I seem to be having issues opening up files more than 1Mb in size?

I’ve tested with one byte less:

1024*1024 - 1 = 1048575

dd if=/dev/urandom bs=1048575 count=1 of=dummy7

and this file opens correctly.

However, if we do:

1024*1024 = 1048576

dd if=/dev/urandom bs=1048576 count=1 of=dummy

this file does not open.

Files below that boundary open file - files above that boundary do not.

Is there some kind of hardcoded limit in Atom?

Normally I’d report this on Github issues, lol, but Atom (core) isn’t open-sourced or listed on Github…(as an aside - will Atom be available on Github at some stage? Or at least the issue tracker?)


Open large files

Indeed, it looks like Atom doesn’t supper bigger file yet.


We plan to lift the cap before 1.0. We have some optimization to do when files start getting huge. If you need to edit huge files Atom might not be ready for you yet, but we’ll get there. Thanks for bringing it up.

Will Atom be able to handle big files?
2MB limitation: makes for a horrible first impression
Large file support
File size restriction
Uncaught RangeError: Maximum call stack size exceeded
Archived FAQs (see FAQ category for all current FAQs)
Atom crashes when trying to open certain files
Progress bar while opening a file
Have a question for the Atom team? Check here first!

FYI, I just released a package for viewing and tailing large files …


@Atom team:

Has there been any progress on this? Are you able to open files larger than 1Mb (or whatever the cap is) yet?

I’d love to use Atom more in my day-to-day, but this and the auto-save were the two things holding me back.


Everyone, check out @nathansobo’s update to the issue:

Spoiler alert: It’s closed.