From 174c314f2ed0ed52e37c9f6c9932d69888b0979f Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Mon, 13 May 2019 18:23:21 +0200 Subject: [PATCH] Document memory change for IntelliJ IDEA importer VM Closes gh-16409 --- CONTRIBUTING.adoc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CONTRIBUTING.adoc b/CONTRIBUTING.adoc index a4c5ce5d9e..7fdcee35d1 100755 --- a/CONTRIBUTING.adoc +++ b/CONTRIBUTING.adoc @@ -201,6 +201,11 @@ need to import the root `spring-boot` pom and the `spring-boot-samples` pom sepa === Importing into IntelliJ IDEA +The separate Maven import process that IntelliJ IDEA uses to parse a project structure +requires more memory. Before importing the project, we recommend increasing the memory +allocation in `Preferences | Build, Execution, Deployment | Build Tools | Maven | +Importing`. Set the `VM options for importer` option to `-Xmx2g`. + To open the project in IntelliJ IDEA, select "`File`" -> "`Open`" and then click on the root `pom.xml`.