Skip to content

Commit 174c314

Browse files
committed
Document memory change for IntelliJ IDEA importer VM
Closes gh-16409
1 parent f408c6e commit 174c314

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CONTRIBUTING.adoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,11 @@ need to import the root `spring-boot` pom and the `spring-boot-samples` pom sepa
201201

202202

203203
=== Importing into IntelliJ IDEA
204+
The separate Maven import process that IntelliJ IDEA uses to parse a project structure
205+
requires more memory. Before importing the project, we recommend increasing the memory
206+
allocation in `Preferences | Build, Execution, Deployment | Build Tools | Maven |
207+
Importing`. Set the `VM options for importer` option to `-Xmx2g`.
208+
204209
To open the project in IntelliJ IDEA, select "`File`" -> "`Open`" and then click on the
205210
root `pom.xml`.
206211

0 commit comments

Comments
 (0)