AndroidStudio show usage of RAM

允我心安 提交于 2020-08-24 05:29:04

问题


I have seen on other AndroidStudio-pictures, that there is a RAM usage at the right bottom. I tried to setup this statuslist o the bottom. But a rightclick didn`t help me. How can I switch on the RAM usage in AndroidStudio ?


回答1:


Setting > Appearance and enable Show memory indicator




回答2:


Maybe I misunderstood the question but I need to see the usage of ram in my application.

I found the solution here:

https://developer.android.com/studio/profile/memory-profiler

Click View > Tool Windows > Profiler (you can also click Profile in the toolbar).

Select the device and app process you want to profile from the Android Profiler toolbar. If you've connected a device over USB but don't see it listed, ensure that you have enabled USB debugging. Click anywhere in the MEMORY timeline to open the Memory Profiler.




回答3:


at the top of Android studio you'll find "Tools" (next to "Run" and "VCS"). Click it and go to "Android" --> "Android Device Monitor". A new Tab called "Android Monitor" is now added to your tooblar at the bottom. Click on it and you'll see stats like "Network" and "Memory". I hope this solves your problem!

Cheers!




回答4:


go to Setting > Appearance & Behavior > Appearance > In Window Option Segment > tick "Show memory indicator" and save setting.

After that you can view memory indicator in bottom right corner, you can trigger garbage collector by click on memory bar.



来源:https://stackoverflow.com/questions/34566061/androidstudio-show-usage-of-ram

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!