LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Slow Performence (https://www.linuxquestions.org/questions/linux-newbie-8/slow-performence-4175600281/)

anas123 02-21-2017 08:39 AM

Slow Performence
 
Hello everyone i use the linux ubuntu 16.10 yakkate. I am Android developer so i have install android studio in ubuntu i still work perfectly but some time when i use my android device for testing purpose the during building gradle of android studio my 6 gb ram full consumed and system slow done some time full goes to dead lock like state. Please tell me if any one have solution of this problem

Thanks in advance

r3sistance 02-21-2017 08:58 AM

I would suggest having a process/task manager such as top open when you connect the device and using that to see what process(es) are using high CPU/Memory. It isn't like we can just tell you what the problem maybe without anything to work with.

snowday 02-21-2017 09:10 AM

I notice Android Studio recommends 8gb RAM, plus 1gb for the emulator:

https://developer.android.com/studio/index.html

Could the problem be as simple as, your 6gb is not enough RAM for good performance?

r3sistance 02-21-2017 09:26 AM

Quote:

Originally Posted by snowpine (Post 5674083)
I notice Android Studio recommends 8gb RAM, plus 1gb for the emulator:

https://developer.android.com/studio/index.html

Could the problem be as simple as, your 6gb is not enough RAM for good performance?

It could be it literally requires 8G of RAM, and it's pulling an additional 2G of Paging from SWAP. If you see high iowait while it loads, then that'd be the case.

anas123 02-24-2017 01:44 PM

slow performance
 
well bro u say correct that the 8 gb ram are required it max but mini 3 gb so anyway in DOS the 6 gb ram is enough for android studio is work along 6 gb. Another thing i set the swap space 4 gb now it work better now.


All times are GMT -5. The time now is 06:22 PM.