Skip to content

macos – Huge swap usage

  • by

I have 16 inch MacBook Pro M1 Pro with 16GB of RAM and use it for Android Development

I am suffering from high memory/swap usage that causes the device to be slow due to multiple Java instances that fire once I hit build on Android Studio, please check the attached screenshot

As you see in this case I have two Java instances one takes 3.55GB and the other 2.95 from RAM and this is not the worst time, sometimes I find 4 instances!! and I always have memory pressure, this is not why I bought this machine, it is supposed to be powerful and handle the memory more efficiently!

I need a way to minimize the Java instances to just one instance

Is there any way to solve the multiple Java processes issue?

Leave a Reply

Your email address will not be published. Required fields are marked *