By default Jindent's Java VM will be started with 64MB of heap size. For some reasons Jindent run into a memory issue and need more heap size. This can happen if you format huge Java files or if you format a lot of files which generate a huge amount of messages.
To enable more heap size start Jindent with the following command line parameters:
- Invoking Jindent as pure Java program:
java -Xms256M -Xmx256M Jindent ...
- Invoking Jindent as exe file or execution script:
Jindent -J-Xms256M -J-Xmx256M ...
