Running java application in IntelliJ and profiler shows heap memory full. Is there a way to increase heap memory allocation? IntelliJ profiler
I tried alreadyhttps://www.jetbrains.com/help/idea/increasing-memory-heap.html . However my default was 2G but changing to 16g profiler shows the same.
It didn't help because you changed heap memory allocation for IntelliJ, not for your application. If you want to increase memory for application, add following VM option to your application configuration:
-Xmx16g
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.