Mention loading/unloading modules in IntelliJ (#9810)

This commit is contained in:
Phil Clay 2023-11-06 18:31:24 +01:00 committed by GitHub
parent f811bf6840
commit 431c544714
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -19,6 +19,18 @@ Configuration:
Note: If google-java-format generates errors in Intellij,
see <https://github.com/google/google-java-format/issues/787#issuecomment-1200762464>.
## Load/Unload Modules
This project has many modules, which have many dependencies.
Therefore, IntelliJ indexes a lot and consumes a lot of CPU/memory resources.
To minimize IntelliJ's indexing and resource utilization,
[unload any modules](https://www.jetbrains.com/help/idea/unloading-modules.html)
on which you are not actively working.
Specifically, unload all modules, and then selectively load the modules on which you need to work.
IntelliJ will prompt you to load additional modules on which the selected modules depend.
## Troubleshooting
Occasionally, Intellij gets confused, maybe due to the number of modules in this project,