Skip to content

Commit f0222a0

Browse files
committed
Add instructions for avoiding StackOverflowError with Lombok in IntelliJ
1 parent f808b96 commit f0222a0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

contribute/setup-ide.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,13 @@ Some configuration in the Maven build is conditional based on the JDK version. I
3636
1. Set "Production sources directory:" to "generated-sources".
3737
2. Set "Test sources directory:" to "generated-test-sources".
3838
4. Click **OK**.
39-
5. Install the lombok plugin in intelliJ.
39+
5. Enable the lombok plugin in intelliJ.
40+
41+
### Configure VM options for compiler process to avoid StackOverflowError with Lombok
42+
43+
1. Open Compiler Settings. Click **Settings****Build, Execution, Deployment****Compiler**
44+
2. Under **Build Process**, set **Shared VM options** to `-Xss1500k`
45+
3. Click **OK**.
4046

4147
### Configure code style
4248

0 commit comments

Comments
 (0)