Intellij occasionally unable to reserve enough space for object heap

前端 未结 3 1628
误落风尘
误落风尘 2021-02-09 22:52

RESOLVED check below for solution.

I\'m using Intellij Idea 2017.2.2. Below is my intellij Specs.

My Intellij would only occasionally fail a maven build or a jbo

3条回答
  •  猫巷女王i
    2021-02-09 23:22

    I had to do the following options to get it pass the error.

    Spec used: IDEA IntelliJ 2019.3.5 (Community Edition)

    1. Increase the memory in IntelliJ VM Options

      Step 1: Go to Help -> Edit Custom VM Options

      Step2: Change the Heap sizes as given below

    2. Run the app with increased memory by setting the VM options

      Run -> Edit Configurations

提交回复
热议问题