Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio 2.2.3 hangs a lot in my laptop [closed]

I have a HP laptop with 4GB RAM and core i5 processor. In android studio download page it has been specified that 4GB RAM is recommended. But still my Android Studio hangs and takes a lot of time to respond.

like image 451
Anandh Kishan Avatar asked Dec 18 '22 09:12

Anandh Kishan


1 Answers

For memory, Android Studio says this

3 GB RAM minimum, 8 GB RAM recommended; plus 1 GB for the Android Emulator


Your OS takes maybe 1-2 GB of RAM itself.

You have a web browser open? That takes some RAM

Open up Android Studio, and it is starved of memory. Running the emulator would be out of the question.


tl;dr Buy a RAM upgrade or play around with JVM settings.

like image 112
OneCricketeer Avatar answered Jan 14 '23 17:01

OneCricketeer