Andriod Studio Used my CPU 100% and laptop goes to sleep - cpu

When i open Android studio CPU used 100% (only studio not emulator) continuously used 100%
and system goes to Sleep and i am facing this all time
I have following specification
8GB ram
128 gb SSD and 500 gb Hdd hard disk
CPU Intel(R)Core(TM)i7-5500U CPU # 2.70 Ghz 2.90 GHZ
I already follow this tutorial but no result
https://www.youtube.com/watch?v=uOSPoQnFiY8

From the screenshot looks like Android Studio is syncing your project, and high CPU usage is not unusual during sync. Does the syncing ever complete?
Also, can you close the project (File -> Close Project) then exit Android Studio, and try opening Android Studio again? See if you get high CPU usage. Just to confirm your Android Studio installation is good.
Your computer going to sleep might be due to your Windows settings/power plan, don't think it has anything to do with Android Studio.

Yes in screenshot its syncing project but it goes to sleep almost whenever i open my android studio & its not only in android studio when i open heavy game like pubgi CPU 100% and again same issue..I have Latest window 10 and i reinstall it many times again and again but got same issue.
According to me When ever my cpu use 100% it goes to sleep.
I already set power plan option and set it no never sleep but again got same issue.
My machine is latest also software is latest but did not get why it goes to sleep

Related

Why does Android Studio run so slow?

My computer specs:
Android Studio is very sluggish and runs super slow
I am a newbie to Android Studio - can you help me with his problem?
check them 1
2
except these i'm upgraded ram and i'm bought ssd
It runs so slow due to emulator which is occupying more ram.don't use emulator if you want to run smoothly,use it by realdevice by usb so that you can find the errors speedly and you don't feel slow when compared with previous time taken.I untick emulator when installing it gives me some speed so once you try like this.If any help let me know

I'm running Xamarin in visual studio and the main.storyboard is really slow to load. How to speed this process up?

I'm new to Xamarin platform and had been working with it for just about 2 weeks. I got all the basic setups configured, I have already managed to simulate it on my iPhone (provisioned through my macbook).
My main issue is every time when I want to continue to work on it, the main.storyboard takes forever to load. At first it was bearable, but it's happening everyday (we're talking, 15-30 minutes) and since I'm going to be working on it for quite some time, is there a way to speed up this process?
Running on Visual Studio 2015
& I'm using Xamarin Visual Studio 4.1, Xamarin Studio 6.1.0 and Xamarin.iOS 10
My pc is Windows 7, Xeon 3.2GHz 16GB ram and Macbook Pro Mid 2012 i5 2.5GHz 4GB ram
Any help or tips would be much appreciated!

Appcelerator studio won't start (no loading screen)

I'm trying to run appcelerator studio in my Desktop.
AMD Athlon II x4 640 3.00 GHz
Ram 4gb
64bit win 8.1
120Gb SSD Samsung 840 EVO
so, in my laptop i7 8gb ram etc.. run smoothly.
When I'm trying to start the studio doesn't respond, not even in task manager.
I'm using CLI and work fine..
I can't find any log file. Which appc studio keep in workspace which one I have no create yet because I can't open the studio.
I run the command appc platform to start the studio from the CMD but nothing happens and this message appears:
{"success":false,"description":"platform command usage: appcelerator platform <api> <method/arguments>"}
I uninstalled AVAST and check first the blocked programs, but nothing..
I disabled Windows firewall too.
Reinstalled the studio many times using different versions of node. But nothing.
And of course I tried to come in contact with the appc team but I can't....
I'm thinking about 4Gb ram limitation; if that blocks the program from starting.
I also try to open the program logged in and logout from CLI.
Any idea? any one with the same problem?
I am not stuck in loading screen the studio try to verify my account and communicate with server.
Studio just won't start at all.
I'm sorry for my bad English.
sorry for your issue.
First - I am assuming your running Windows (Linux is no longer supported)
The CLI command your using appc platform does not launch studio. That is used for accessing platform APIs and thus requires you to provide an API to use.
To launch studio from the CMD line on Windows you would need to cd into your Appcelerator Studio directory and run the associated program. When installing studio, we do put an icon on the desktop, which is by far the easiest way to start it up.
Your right about your RAM limitation. While you'll find that studio does "run" it will be extremely slow, especially once you start using the Android / Windows emulators etc. Windows takes up 1-2GB of Ram on its own, leaving very little for any development tools.
Our recommended configuration for Windows machines is:
* Windows 8.1 or higher
* 16GB of RAM
I would also think about a faster proc as well.
We are in the process of updating our documentation on the pre-reqs' as its a bit misleading. While we say 4GB of RAM is suitable, what we are talking about is 4GB of 'free memory' on top of everything else you have running, not 4GB of total system memory.

From Windows 7 Professional Visual Studio 2010 takes over a 2 minutes to load the document in the editor window

I reformatted my laptop and reinstalled vs2010, now every time I open a asp classic solution the following occurs:
solution explorer loads
tabs for the pages left open from last time appear
wheels spin for about 2-3 minutes before I can begin work
It was fast and responsive on Windows XP pro...
Laptop specs
Intel i7 M620 2.67GHZ
4GB
32 Bit
Try disabling your virus scanner. I had a lot of trouble with vs2010 having VERY long load times until I added exceptions to my build paths in Microsoft Security Essentials.
I had to run svn cleanup on the directory. Not sure how that was affecting VS2010, but it was. Now the app loads up in about 5 seconds.

Vista, Visual Studio and OutOfMemoryExceptions

I'm having a bit of a problem where VS won't build because I get OutOfMemoryExceptions. My Vista box with 2 GIG RAM, is using about 1 Gig of RAM when it starts up, and I am not even doing anything (just connecting to the network drives at work etc)
When I then run Visual Studio devenv.exe peaks at around 730MB after a few builds, and I get the error, mostly needing a restart to rectify.
I have disabled Aero and stopped as many unneccessary services and applications in MSCONFIG. I know there is something about Vista using memory and not being bloated, but using up half my memory after just starting up seems a bit excessive (it is the same on a few dev machines).
What sort of peak memory is your application generating and what can I do to try negate this issue?
730 megs after a few builds is not normal.
Some things to try:
Disable all your VS plugins
Ensure VS is running the latest service pack (are you on 2008 SP1)
Try one project at a time to see which one is hogging the memory
Best way how to solved this, is buying more memory.
I have same problem with XP and 1GB memory and it's nightmare for me. Now I have 3GB and it's OK and I can 2 VS in same time.

Resources