Android Studio is extremely slow and using a ton of system resources - android-studio

So I'm pretty sure this question will get closed, but I just want to see if anyone else is experiencing this issue. I'm trying to migrate over to Android Studio, as it just came out of beta and Google announced that they essentially won't be supporting ADT for Eclipse from now on. So far, I'm noticing that the application as a whole is extremely slow and bordering on unresponsive. With every click, I have to deal with extreme latency, which is really making this tool hard to use. After doing a quick check, I've noticed that this one application is using nearly 1GB of memory and I haven't even begun to migrate my project to it! Is anyone else experiencing something like this and does anyone have an idea of what I can do to speed this up? If this doesn't improve then I'll be forced to stop migrating and continue using the Eclipse ADT until something has been done. I'm running Windows 7x64

Did you notice if the IDE is stuck doing something by looking at bottom right status?
Make sure you are using bundled Gradle, also Do you have have many dependencies? You might want to check if its getting stuck because it is constantly looking for those dependencies.

Related

Android Studio gets laggy when typing. Diagnosing tips?

This started happening recently. The CPU usage is <5% when idle, but as soon as I start typing goes to 100%. I tried many of the proposed speed ups I found on other questions but none worked. My question is: what is the best way to know what is taking up so many CPU resources? Is there a way to know which plugin is using those resources? Is there a log one can look into?
Couldn't find a solution to this. Reinstalling Android Studio without using the previous configuration solved the problem.

Hololens won't start the app if I put a c#script in its content (il2cpp)

I'm a new hololensdeveloper and I recently made a Hololensproject using net scripting backend just because there were way more information on how to set it up and get it working with Visual Studio.
Now when I feel somewhat confident I decided to change it up to il2cpp, but I have a major issue.
Everytime I put a c#script(even empty ones) into any folder within the application the Hololens won't even start it. The screen goes black for some seconds and then returns me to the mainpage.
This feels strange as all the scripts from the HolotoolKit works fine and they are written with c#.
Im currently using
.Unity 2018.3.4f1
.HolotoolKit 2017
.Visual Studio 2017
Thank you!
-----Solved------
SO after alot of time, I switched to Unity LTS and that fixed my problem. Feels bad that I have to rely on an older version.
If I remember correctly, using the HoloToolKit and not the mrtk v1 or v2, you should use Unity LTS 2017. Maybe thats the problem?
And I'm not sure if I understood you the right way. So you are building it in unity and than deploying it to the HoloLens without getting any errors in your console?
Also changing the scripting backend framework, means using a different build directory and If you are not doing that Unity should give you a message like "Build path contains project built with IL2CPP or .Net"

Android Studio Team collaboration

Is there any way to work in collaboration in Android Studio or IntelliJ?
Yes, I know about Git, but that requires pushing and pulling which is time consuming if you want to edit very small things (a single line).
Something real time would be great.
I took a look at Floobits, just not sure if we're willing to pay for something I have no idea about.
I could see that some editors like Visual Studio Code and Atom have some real-time editing solutions, but that makes running the code a bit harder.
Can someone tell me any way to achieve this?

Liferay IDE Alternatives

I am using Liferay Developer Studio for theme development and as a frontend developer, I am not impress with the tool's performance.
Below are few reasons I am looking for alternative IDE, compatible for Liferay development.
It occupies more than 75% of the memory
It slower down the whole system
I cannot use chat application while running IDE as to switch from one app to another takes irrelevant time
I use to build theme through CLI. Sometime I need to close the IDE or else it gives runtime error and doesn't build the theme.
I am sure there are many others too faced same issues, which actually makes the development slower. This question is not against the Liferay of course, it's a great enterprise level CMS tool. But yes looking for alternate IDE with best compatibility for the purpose.
Thanks in advance.
You can use Gulp and Yo to generate, build and deploy your theme or layout , and you can use Notepad ++ as editor.
Please refere to those links :
1 - LIFERAY theme generator
2 - Gulp Tasks
You can use any IDE you want. The only one difference between LiferayIDE and others IDEs is you can avoid using BladeCLI by hands.
And nothing can stop you to use another IDE, build you project with maven or gradle and then continue to develop.
If you are a front-end developer you really should use Gulp and Yo. First time you'll feel yourself confused a bit, but after short period of time you'll understand all benefits.

Resharper 6 online analysis memory

After upgrading to R# v6 I am unpleasantly surprised to see that the memory usage for the same application is using almost three (3) times what it did with v5.x, and is painfully slow. Not sure I would upgrade again if I had known this before hand.
Is this a known issue? Has anyone noticing the same jump been able to successfully tweak this?
Cheers,
Berryl
We're receiving mixed reports on memory and performance consumption in v6. In some cases, users call the new version a massive improvement over previous versions, other times they report increased memory consumption and lags in certain scenarios. This is pretty much the same story with every new version.
There are several known issues related to processing classic ASP files and in general processing source file on solution load. Both have been addressed lately and will be fixed in ReSharper 6.1 that is coming out later this Fall.
I suggest that you do the following:
Try to clean ReSharper caches by deleting YourSolutionName.suo and *_ReSharper.YourSolutionName* folder - this helps sometimes.
Downgrade to ReSharper 5.1.3 for the time being. This version is available via ReSharper archive.
As soon as ReSharper 6.1 comes out, install it to see if it's any better.
If it's no better, profile ReSharper and send the profile to us for investigation.
An alternative would be to profile 6.0 right away as there's a chance that your issue is something we've not yet investigated during 6.1 development.

Resources