Reputation: 41
can anyone tell me why android studio on Ubuntu use to much ram memory and why it is so painful to code. My specs are: cpu: i3-2310m ram: 4gb ddr3 system: ubuntu 16.04.1
I had android studio on win 10 and with emulator was used only 3,4gb of ram. Codding was not so great on win 10, but definitely less painful (less lagging)than on ubuntu. I use the same android studio (2.1) and the same project but, on Ubuntu use whole ram and use 1,1 gb of swap and emulator now is lagging. how is that possible, should not android studio be less demanding on ubuntu than on windows os?
Upvotes: 3
Views: 1785
Reputation: 8851
As immediate solution try to decrease memory in AVD (emulator) settings, try 512Mb.
Also you can try power saving mode (it can consume less memory too) pressing on the bottom-right button, see the screenshot:
You can even try to disable Inspections in this menu, if you're comfortable without them.
But the real solution is only to buy more RAM, unfortunately...
Upvotes: 0
Reputation: 75629
and why it is so painful to code. My specs are: cpu: i3-2310m ram: 4gb ddr3 system:
"4gb" - that's why. i3 is also not helping really as the whole IDE, gradle and stuff needs some horse power. What's your storage? 5400 hdd or maybe something better?
Upvotes: 2