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

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.

  1. Press shift two times.

  2. Search for "memoryIndicator" in the search box.

  3. Toggle on the memory indicator option.

  4. (You might need to restart IntelliJ for changes to take effect.)

In the IntelliJ version 2020.1 windows & macOS

  1. Right-click about the bottom right.

enter image description here

  1. Selected "Memory Indicator"

enter image description here

  1. Show already.

enter image description here

Work for me.