Shared build process heap size vs. User-local build process heap size

Answered

Hey,

I'm using IntelliJ 2021.2.3 CE. I want to build the modules in my multi project build in parallel. A note on the right of the dialog say I have to increase the memory. If i'm going into the settings I see 4 possibilities.

  • shared build process heap
  • shared build process vm options (I could add Xmx here as well)
  • user local build process heap
  • user local build process vm options (I could add Xmx here as well)

I would tend to use the `shared build process heap` or the `user local build process heap` option. My question is which option is the recommended one. setting intellij into debug mode will not print out the compiler options I had configured. 

especially when I want to share the these options via project file. the shared build heap (BUILD_PROCESS_HEAP_SIZE) will be added to the `compiler.xml` the user local heap (COMPILER_PROCESS_HEAP_SIZE) is saved into `workspace.xml `  

which option / file is recommended for sharing / executing?

0
2 comments

If you want to share this option with the team working on this project, use shared build process heap.

0

Please sign in to leave a comment.