Do I need to upgrade RAM from 4GB to 8GB for Android development?
Solution 1
The recommended amount of RAM for running Android Studio Ubuntu is 8GB, and your computer has only 4GB of RAM. You should expect to get not better than minimal performance from hardware that meets only the minimal requirements for Android Studio, and you should expect to get recommended performance from hardware that meets the recommended requirements.
As you get deeper into Android Studio you'll find out again and again what a resource hog it is. Android Studio is a very feature rich IDE, and you need to give it more resources in order to use all of its great features. In addition to the RAM having a decent graphics card would also help.
Solution 2
Not only an Android IDE a resource Hog, but you will need from time to time one, sometimes more, android emulators, and those eat even more RAM. I'd consider 8Gb barely enough.
But!
At the same time, there is a quirk with Linux memory usage that you should know of. Read this: Linux ate my RAM Resource monitor is not a way to judge RAM usage, the free
tool is.
Related videos on Youtube
Zanna
Updated on September 18, 2022Comments
-
Zanna over 1 year
I'm an android developer and have laptop with 4GB RAM. When I compile my project the RAM is used at 100%.
If I add more RAM will it solve the problem?
-
Admin about 6 yearsAll the text in that screenshot is encrypted so I can't help you (but all the graphs appear empty), but your ram usage should always be at 100% otherwise why have it in the machine?
-
Ping Chu Hung about 6 yearsIf you can finish compiling, 4GB RAM + 4GB swap are enough, you don't have to add more RAM.
-
Admin about 6 years@Dr Eval, after compiling ram busy at 100%. All system luggy. If i add 4gb ... all 8gb will be busy?
-
Admin about 6 years@Ping Chu Hung, swap don't helped me..
-
Admin about 6 years@Dr Eval, sorry for russian language. See green circle please
-
Warren Hill about 6 yearsThis is an English language site please translate the information in the Screen shot.
-
Admin about 6 years@Warren Hill, ok, later
-
Amit Verma almost 3 years
-