Alright, to be honest, I have no idea if this situation is specific to my computer or to any Linux user... but hear me out.
I have coded in GitHub's Atom text editor on Windows 8.1 platform before. Loved it, so when I switched to Linux (Ubuntu 15.10 Wily), the first thing I did was to download Atom's Linux build and install it on my system. It started out really great. It was as fast as I thought, even faster than its Windows counterpart, so I was fairly pleased.
However throughout the days I have reinstalled Linux and reinstalled Atom - and it was just very, very slow. I was editing a Markdown file and it lagged for 2 seconds to position the cursor onto where I clicked. I thought it may have been one package that was the culprit in eating up CPU/memory, so I deleted all the packages and started on a clean slate.
Nothing changed, for some reason.
Then I decided to check the System Monitor since there must be something going on, because ever since I've reinstalled Ubuntu 15.10 (I played around with some configuration files before and screwed the system up...) and reinstalled Atom - every time I started up Atom, my CPU would get very hot and the fan just gets super loud. Evidently that is not a good sign.
Behold, the culprit:
“atom --type=renderer --js-flags=--harmony --no-sandbox --lang=en-US --node-integration=true --enable-delegated-renderer --num-raster-threads=4 --gpu-rasterization-msaa-sample-count=8 --content-image-texture-target=3553 --video-image-texture-target=3553 --disable-accelerated-video-decode --disable-webrtc-hw-encoding --disable-gpu-compositing --channel=14354.0.624276243 --v8-natives-passed-by-fd --v8-snapshot-passed-by-fd”
Yes, the process name is that long, but here's a more readable list of the parameters:
--type=renderer
--js-flags=--harmony
--no-sandbox
--lang=en-US
--node-integration=true
--enable-delegated-renderer
--num-raster-threads=4
--gpu-rasterization-msaa-sample-count=8
--content-image-texture-target=3553
--video-image-texture-target=3553
--disable-accelerated-video-decode
--disable-webrtc-hw-encoding
--disable-gpu-compositing
--channel=14354.0.624276243
--v8-natives-passed-by-fd
--v8-snapshot-passed-by-fd
Here's an image of detailed description/statistics of the process - why is this renderer alone taking so much virtual memory...?
Seeing that the Atom creators also developed the Electron platform, I thought that Atom was built with Electron. Otherwise I can't explain as to why the Javascript V8 Engine is running as a renderer when I fire up Atom - whatever that means.
I'm really curious as to why this is happening, but most importantly I love Atom too much to give it up so easily, so I'm willing to put up a fight and see if you guys know what's going on.
In case it matters, I'm running Ubuntu 15.10
with GNOME Shell 3.16.4
desktop environment. Also, apm --version
spits out:
apm 1.5.0
npm 2.13.3
node 0.10.40
python 2.7.10
git 2.5.0
P.S. Seeing that it's my first question, I may be violating some standards and netiquette on SE/SO, either through the way I voiced my question or any reason really - I don't know. If that is the case, please forgive me as I still have a lot to learn about StackOverflow and this amazing community which helped me through my journey of coding. Thank you wonderful folks in advance.