Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@MikeOcasio I have no single clue, sometimes I wish I could remove that thing but I need it to make Android Apps :(
-
@Aitkotw as a Lord of the Rings fan, this made me giggle but I hope there is a Mordor in real life to throw those RAMs and hope Android Studio follows through XD
-
when I open two windows of Android studio I get 250mb ram left for anything else. I mean why leave it, what will I run in that space?—another VM maybe ¯\_(ツ)_/¯
-
@sambhav2612 for me I do need my VMs running, I have two Ubuntu running one is a server and the other is regular desktop, using the server for docker containers (MySQL, SQL Server, DotNetCore)
and using desktop for React and DotNetCore
Using Windows for Android >_>
My App will not function without the dotnet core service running, and dotnet core service will not function without the containers running (at least one of them)
not planning to move any of them to another OS just because that thing is eating up my 16GB ram T_T -
This is seriously getting out of hand. There's the stupid electron that loads like we have all the time in the world and then there's this RAM eating abomination.
Our ancestors sent people to the moon with the computing power of a calculator! Time to wake up! -
@gitpush then phones will come will support for writing your own SDKs and massive databases because why not?
why fucking not put everything inside phones while at most instances they never use it completely et al.
and, why not make them work like workstations and servers to handle the goddamn internet.
this is a bigger scam than bitcoin. xDD -
@Torbuntu are you sure you are running Android studio :P and not some fake version of it :P
@sambhav2612 hahaha why not :P -
@Torbuntu teach me master! I'm sick of this shit, even at work on a mac it does the same thing, eats all ram :\
-
@Torbuntu Same here I test on a physical device all the time, I closed it after this rant and now it is back to 4GB WTF!
-
@Torbuntu just writing code and running on device, the most basic things, I didn't even open the profiler tab to make it load
-
@gitpush @Torbuntu atleast tell us how you've configured it because I've never seen Android studio to take only 2.7gigs for 9 tabs. 🙏
-
@sambhav2612 I changed nothing, it always suck like this ever since their very first preview few years ago :\
-
@Torbuntu what the fuck is this sorcery? 1gb ram for 9 tabs, are you KIDDING me?!
-
@Torbuntu I still cannot believe what I'm seeing :\ Something is wrong here either Linux really plays nice with Java or we fucked up somewhere or I'm dreaming ...
-
@Torbuntu @gitpush just compare your studio version and Java version.. Maybe it's version difference..
-
Depends what you're building I guess.
Libraries, modules and configuration.
Need a hand with the config? Ive spent a bit of time optimizing (my work PC has 8gb of ram).
I will argue however that using 5-6 gb of ram (since you have them to spare) isn't that bad if it makes the build go faster. On my 16gb machine I've set it up to take up to 8 -
@succcubbus My problem is I had to close my Ubuntu VM to be able to continue work, I work on my service on that VM and had to deploy it to my VPS to be able to call it and continue working due to RAM being eaten up by Android Studio :\
@jAsE oh ya please :D
@RickDiculous179 can you share some of your configs? I am working on a new app for personal use it has only okhttp, google room db, and material edit text as dependencies
@suprano I don't want my laptop to die :P
@Danacus yup say postman? but ironically on Windows it behaves ok but on mac at work i fucking hate it
@gardenGnome I have everything up to date and Android studio using the built-in openjdk could this be an issue? -
@gitpush
This is my global gradle.properties file for my 16gb rig - i7 6700:
https://dropbox.com/s/...
Also after using both room and realm I'd highly suggest realm. Room gets too annoying with complicated structures.
Tweak the parralel threads to what is good for you. I have 8 logical cores so I give 6 to the build process and leave the 2 for anything else that may be running.
I don't remember why I set a max metaspace size for the life of me.... Shouldn't make much of a difference. -
@RickDiculous179 thanks man much appreciated. I added it to the project I'm working on lets see how things go
However about Room and Realm, the only thing I don't like about Realm is it takes 90MB on an iOS project and that's too much :\
I do like Realm but thought that since Room is google developed it should play nice with their platform though your note is making me think twice before going that way -
@RickDiculous179 after applying your configs build speed did increase and I like what I'm seeing, but Android Studio still eats too much ram :\
-
@gitpush you can lower the maximum ram to fix that e.g. on my work Mac I'm using 3g out of the 8 it has.
But imho ram is there to be used. Do you really miss 8g out of 16? I mean the rest should be enough for just about anything -
@RickDiculous179 I'll change it but my problem is I always have to vms running, one Ubuntu desktop (for dev) and the other ubuntu server (for docker)
and Android studio on Windows, so I don't really have enough free RAM to give to Android Studio especially that I have paging file disabled cuz I don't windows to always write on my ssd -
@RickDiculous179 for example right now with nothing open but fire fox I have 7.6GB used :\
-
@gitpush hmm ssds aren't that bad nowadays though but yeah I see.
Fully switching to Linux isn't an option I assume? -
@RickDiculous179 I'll give it a go but I need to find a solution for this, increasing RAM is not an option since 16GB are enough and if I'm to upgrade I'd have to remove two 8GB to replace with the new ones :\
I'm thinking of moving containers to a VPS, I usually require at least two at any given time and for dev I don't think more than 512MB RAM server is needed
I'll switch those gradle settings to 4GB and hope it doesn't go over it thanks man -
@gitpush out of curiosity what SSD do you have?
I own a couple of cheap ones - one's in an Intel nuc that runs a private git among other things.
And a couple of nvme drives on my main laptop (linux/windows with full on indexing, swap etc).
Never had a single broken one and that includes the Macs at work (mine is a 2015 model that has seen a lot of usage). -
@RickDiculous179 I got the Samsung Evo 850 500GB back in May 2015, so far it has 10TB writes I know Samsung says it can go up to 150TB but I don't know I still don't trust SSDs the same way I do with regular HDDs
I still have an HDD 8GB functioning with no issues on a Pentium 4 PC got it like 12 years ago -
@gitpush Mate I have the 850 on a Toshiba since 2013 it's around 50TB+ now :P
I trust it with my life :P -
@RickDiculous179 hmm... 4 years now that's amazing, but still not enough to convince me XD
-
@RickDiculous179 any special software for backup or just copy paste? I'm planning on doing an image of my system so that in-case it fails I restore the image only
-
@gitpush 2014 actually so 3 years my bad.
Windows I copy and rar5 with a huge dictionary so it compresses a lot.
Mac I use time machine and carbon copy cloner or something if I need to do something that'll break things (like... Make a case sensitive partition case insensitive)
Linux I don't bother because anything that can break Linux will probably kill humanity too :P -
@gitpush of course why not? :)
Especially sata ones. You may need a driver for some nvme ones to get all the speed out of them but other than that no issues -
@RickDiculous179 wish I could fully convert to Linux but I can't I develop universal windows platform apps = require windows = require visual studio = I'm stuck :\
Related Rants
-
linuxxx32*client calls in* Me: good morning, how can I help you? Client: my ip is blocked, could you unblock it for m...
-
armandventer17Dear gradle, no offense but I believe Rome took less time to build!
-
IAmNotARobot67What. The. Fuck. Did. Just. Happen. A random girl followed me on social media. She looked nice and intelligen...
FOR FUCK SAKE ANDROID STUDIO!!! 5GB RAM WHAT THE FUCK ARE YOU DOING!!! I NEED THOSE VMs RUNNING AND USING 5GB IS NOT COOL AT ALL!!
undefined
please stop bitch!
android studio
dafuq