Is it possible to show heap memory size in Intellij IDE (Android Studio)?

Ketu picture Ketu · Apr 18, 2016 · Viewed 29.4k times · Source

I am searching for a way to display Heap Memory/force garbage collection.

I have already tried to search through settings, however all I could gather was about setting JVM parameters in Android Studio config.

Does Android Studio have such functionality?

Answer

Mojtaba Asg picture Mojtaba Asg · Apr 18, 2016

It's exist but not visible by default. 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.