22
u/Zhuinden Dec 04 '18
Tanks are NSFW?
I'm starting to think this is a problem only in Germany, but I can't know for sure.
6
5
u/cfcfrank1 Developer - Instadict, Lyrically Dec 04 '18
Tanks are NSFW?
Nope. They're very safe for wars, provided you're inside them.
2
u/Zhuinden Dec 04 '18
...i assumed work because it's 18+.
If I am to go by the ratings for movies / TV shows, then 12+ is like, sexual innuendos, 16+ is showing boobs and some semblance of graphical violence, and 18+ is actual sex with genitalia and/or crazy amounts of gore.
I don't know how this picture is 18+ :D
3
74
u/Costular Senior Android Engineer at Job&Talent Dec 04 '18
Also valid for 8GB
41
u/-INC3PTION Dec 04 '18
Add chrome in the mix with 5o stack overflow tabs and also valid for 16GB
0
Dec 04 '18
[deleted]
8
u/nhaarman Dec 04 '18
Multiple gradle daemons.
2
u/Trak-X Dec 04 '18
Don't worry. I broke 32 with 4 emulators too. So I can see the UI running. Got up to 29 used. AS + 4 Emulators + Chrome :D
2
u/polaarbear Dec 04 '18
I broke 32 pretty easily while building the entirety of LineageOS. Tried to get it built a little too quickly and overflowed it 93% into a 3+ hour compilation
4
u/yaaaaayPancakes Dec 04 '18
Android Studio
Chrome with a fair amount of tabs open (10-20)
Electron apps running (2 - 3)
Emulator instance
IntelliJ for backend
Backend instance running
This will push me towards 20GB of usage.
1
u/Magnesus Dec 05 '18
Just checked and Spotify which is Electron takes 200MB. Doesn't seem that bad, but I suppose when you run a couple of such apps in can eat your memory fast.
edit: forget that, Spotify apparently runs three more processes, one 100MB, one 50MB, one 8MB. It adds up to around 350MB.
1
u/yaaaaayPancakes Dec 05 '18
Yep.
Slack is taking about 500MB right now. Figma is taking about 450MB. GitKraken is taking about 200MB. I'm not running Postman at the moment, but that'll take a few hundred too when running.
These simple apps just gobble up RAM due to Electron. But I need them for my workflow. The only optional one is GitKraken, but it's the best visual Git tool I've seen that's free. Blows sourcetree out of the water.
2
u/ZieIony github.com/ZieIony Dec 04 '18
For me that's true as well. I used to work on an Android project with a Spring backend. Opening Chrome, Android Studio and Eclipse for backend dev forced me to go above 16GB.
7
u/pain_point Dec 04 '18
Wait we need at least 16 now?
29
u/kaeawc Dec 04 '18
32 GB, honestly
9
Dec 04 '18
64GB just to be safe.
3
3
u/5thStrangeIteration Dec 04 '18
Really though I could spread my fatness across enough memory to warrant 128GB.
2
u/pain_point Dec 04 '18
You guys are you kidding me! Lol
7
u/kaeawc Dec 04 '18
... unfortunately not. I made work buy one of the new 2018 macbooks with 32 GB. First time in years I've been able to run Android Studio reasonably.
2
u/pain_point Dec 04 '18
Incredible I was eyeing an 8gb Windows Machine was hoping it would solve all my problems sighs believe it or not ive been working with 3gb its a nightmare but it works albiet slowly
11
Dec 04 '18
Install Linux - there is a huge difference in build speed because the Windows NTFS is very slow at creating new files and threads (http://www.bitsnbites.eu/benchmarking-os-primitives/). I recently moved to Linux and the speed difference is really huge for very large projects (like 2x faster), and I am not the only one seeing the differences.
3
2
u/alaakaazaam Dec 04 '18
Same here : 4 Gb ram on ubuntu 18.04, SSD inside.
Emulation would be slow so i debug directly via usb, works like a charm
1
u/pagalDroid I love Java Dec 05 '18
I don't know if anyone else faces this but the gain from faster builds is negated by the freezes that the emulator causes upon booting up in Linux. I can't click on anything until it boots up which mostly takes a good 3-4 minutes but on a bad day can be as long as 10 minutes. And the OS continues to lag even after it started so I can't switch workspaces easily or search something. Only after closing Firefox(not Chrome) am I able to work comfortably. This seems like some kind of Linux issue because on Windows it works flawlessly(even with Chrome).
1
Dec 05 '18
I have those issues with the emulator - I had to switch to cold boot on every start in the emulator settings. This helped (although you have to wait a little longer to start the emulator).
1
u/pagalDroid I love Java Dec 06 '18
Switching to cold boot works but it still lags a bit sometimes. Guess I need 8 more gigs.
1
u/CSThr0waway123 Dec 04 '18
I very recently bought an 8GB laptop hoping it would be a lot better than my 4GB laptop. It's still slow as hell lol
1
3
1
u/brainplot Dec 04 '18
I've found that there's quite a difference between UNIX-like systems and Windows, when running Android Studio.
I'm currently using Archlinux with "only" 16 GB of RAM and Android Studio is pretty smooth and I don't experience any slowdown. Obviously there's still tons of Chromium tabs, my text editor and whatnot also open.
2
u/s73v3r Dec 04 '18
They are. I have 16GB, and I've never had an issue.
1
u/pain_point Dec 04 '18
Ill look it this hoping to make a big laptop purchase soon but im not made of money lol
16
u/Gingervitus_ZA Dec 04 '18
Just download more ram?
1
u/Olao99 Dec 04 '18
This meme needs to die at some point
3
u/redditsdeadcanary Dec 04 '18
It's been a thing since..what 1997? Maybe earlier?
I don't see it going away.
1
u/Zoroark1999 Dec 04 '18
I just bought an 8gb Laptop with my first two payments . It has not arrived and now I feel it's worthless :(
10
u/Superblazer Dec 04 '18 edited Dec 04 '18
Relevant to me, because I do actually use it on a 4gb ram laptop lol
4
1
5
u/CrudelyDrawnSwords Dec 04 '18
"The fans are going wild because I have started a build in Android Studio..."
1
u/Magnesus Dec 05 '18
My old laptop was so quiet I knew something was up when the fans started to be audible. My new laptop is loud all the time. :(
4
u/Yikings-654points Dec 04 '18
I have an old laptop on the side for Chrome , Remote WiFi connected emulators, Synergy mouse and keyboard sharing , sometimes remote building.
Creativity intensifies when you are running low on RAM.
4
u/cheesoid Dec 04 '18
Gradle is awful as well, it consumes almost 2GB of memory which is ridiculous.
7
u/waterbyte Dec 04 '18
My laptop has 8gb ram. Although development is quite smooth, during build android studio shows its real color. I have to stop all background processes, StackOverflow posts on chrome, and any torrent or music player in the background. CPU and disk usage both touch 100% and still it takes 3~5 minutes for the build to complete. It annoys you more if you are doing build to see visual changes.
5
u/xuabi Dec 04 '18 edited Dec 04 '18
chrome
I'm not surprised
Edit: oh, cpu? Oh do you use Windows? I had a struggling laptop a couple of years ago. I went from windows to Linux and it helped a lot. Also, fell in love with the OS. It helps mostly because Windows seems to be always heavy on background tasks.
5
u/waterbyte Dec 04 '18
Windows runs superfetch, cortana, windows update, etc, etc many of which can't be stopped. But unfortunately, some game developers still make windows only games and somehow I wasn't able to dual boot my laptop.
1
u/Volko Dec 04 '18
You can, on Win 7. Best windows version for Android Developers imho.
Fedora with its multi desktop support is my choice as OS at work.
1
u/Zhuinden Dec 04 '18
I am running Windows 7 at home and it works just fine :D
Maybe win 10 lives a life of its own
1
3
u/redditsdeadcanary Dec 04 '18
Also valid for 16GB.
Honestly the folks at android could learn a thing or two from the developers at Microsoft. Their IDE uses far less memory.
2
u/Daell Dec 04 '18 edited Dec 04 '18
2 x Android studio
1 X Emulator
Firefox with a couple of tabs
RAPID mode enabled on SSD (so ~2Gb of RAM becames a cache)
vs
16Gb RAM
dead
1
2
3
1
1
u/adel_b Dec 04 '18
I have MBP, SSD and 8 GB RAM, mostly run fine until I had project with JNI and some large C++ files, never seen my laptop on it's knee.
1
1
Dec 04 '18
Theorically, one could use vim (or emacs) + gradle on a 1 GB or (more reasonably) 2 GB Linux lightweight distro. Theorically. Maybe if I'm bored one day I'll attempt it. In any case it would be interesting to determine how low spec you can go if you take AS out of the equation.
1
1
0
u/Coffee2Code Dec 04 '18
Android Studio itself doesn't use more than 1.2GB by default, it's a hard limit you can raise yourself by editing the vmoptions file.
Heck, if it's really that heavy on the machine, click the little dude in the bottom right and use that window to tune it.
Read this as well: https://developer.android.com/studio/intro/studio-config#low_memory
24
u/Appetite_TDE Dec 04 '18
I built a new computer specificaly for this reason then I became an alcoholic and got canned. Now im a bartender with a hell of a porn rig and too much knowledge to be wasted. Jesus