News for hackers. Stuff that matters.
Re:New Sublime Text update by BuildTheRobots on Friday May 13, 2016 @07:25AM (#11689758)
My biggest objection to Atom over Sublime is the memory overhead when opening even moderately large files.

I'm in ops rather than dev, so often deal with 10mb+ log files - but don't have a lot of the IDE type requirements of my colleagues. Sublime open them in seconds and is nice and quick to search through and look at. Trying to open a 10mb file in atom causes it to chew up 1.2gb of ram and it's laggy when scrolling nevermind when trying to search etc.

Sublime on the other hand not only starts up quicker and is more responsive, but it's only costing me 100mb of ram for my 10mb file as well as 20 others I've not bothered closing.

If I try and load a 100mb file in sublime it doesn't balk. Takes about 8 seconds to load, but once loaded it's amazingly responsive (to the point where I thought I still had my 10mb not 100mb file loaded). Atom attempts to open the file but takes forever and then dies after exhausting the 8gb ram on my laptop.

tldr: sublime feels stable, lean and fast vs memory munching and perceivably slow.

Edit: oh, and atom's installer is 104mb, the new build of sublime3 is 8mb.

edit2: Even after a clean boot atom just crashes trying to open a large file well before it fills up my memory, so no idea.

Re:New Sublime Text update by Keats on Friday May 13, 2016 @11:34AM (#11690978)
My only interaction with Atom so far was trying to paste a 8k chars line in a dojo on someone's recent mac pro. It crashed every single time and crashed again on opening as it was trying to load the file with the long line on startup. In the end I had to use vim to open it, was instant and I could actually remove that line (not a vim user).
Re:New Sublime Text update by markgavalda on Friday May 13, 2016 @08:22AM (#11689951)
Exact reason why I too stick to ST3.
Re:New Sublime Text update by joshmanders on Friday May 13, 2016 @09:12AM (#11690178)
This was a concern of mine before switching from Sublime to Atom on the Atom 1.0 release, but I don't open moderately large files often so I really don't worry about it anymore.

Atom has come a long way and I love using it.

Re:New Sublime Text update by wonks on Friday May 13, 2016 @02:49PM (#11692409)
There have been times where files have been too big even for Sublime Text to load on my Macbook without slowing it down. In those cases I've used Vim with the LargeFile plugin.
Re:New Sublime Text update by BuildTheRobots on Friday May 13, 2016 @03:08PM (#11692537)
Is this the right Vim plugin? [1] - if so wasn't aware; will add it to the toolkit with thanks :)

http://www.vim.org/scripts/script.php?script_id=1506

Re:New Sublime Text update by tripzilch on Sunday May 15, 2016 @10:36PM (#11703890)
> Trying to open a 10mb file in atom causes it to chew up 1.2gb of ram

Truly?! That's a factor of 100x, that's ridiculous.

TBH, I'd kind of expect an editor to use a factor maybe 2x of the loaded file (for quick access indices, searching, etc). More if you count undo-buffers, of course.

Re:New Sublime Text update by BuildTheRobots on Monday May 16, 2016 @07:01AM (#11705511)
I could well be reading the stats wrong, but yes; really - this is tested on Windows 7 64bit (latest updates). Opening Atom without any plugins, themes or files loaded seems to require approx 150mb just to be alive.
Re:New Sublime Text update by z3t4 on Friday May 13, 2016 @10:46AM (#11690685)
Do you edit the large files, or only look at them?
Re:New Sublime Text update by BuildTheRobots on Friday May 13, 2016 @12:16PM (#11691244)
Depends what I'm doing. Sometimes I need to edit as well as just view them. I have seen the Atom text-tail plugin that keeps getting mentioned but when I went to install it the homepage says Atom now copes with large files so it's been depreciated... I have to be honest, at this point I lost interest and went back to sublime.

Call me old fashioned, but the #1 feature I want from my text editor is the ability to edit plain text files... everything else is gravy (though syntax highlighting and regex's are two "features" I really like).

Amusingly (and only tangentially related), I just realised that notepad.exe on windows 7, which I always remember balking at files in the single MB range copes with my 100mb test file amicably and only chews 225mb of ram (21mb for my 10mb test file).