 |
|
English /
|
|
| |  | | |
|
|
|
|
 |
|
Company |
|
 | | |  | | | | |  | | | | |  | | |
|
 |
|
|
| |  | | |
|
|
|
|
 |
|
Products |
|
 |
| |
Jindent 4.0 |
|
| | |  | | | | |  | | | | |  | | | | |  | | | | |  | | | | |  | |
|
|
|
|
 |
|
Purchase |
|
 | | |  | | | | |  | | | | |  | | |
|
|
|
|
 |
|
Misc |
|
 | | |  | | |
|
Polling
|
| Which programming language do you want Jindent to support ? |
|
|
|
 |

|
 |
Below we present a list of the most frequently asked questions about Jindent, its plugins,
the installation process and more...
|
|
 |
 |


Question
Jindent does not format certain files and shows error message Java Error: null
or Java Error: OutOfMemoryException. How can I fix this?
Answer
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 ...
In these examples a heap size of 256 MB is enabled. To enable different heap size values please change the numbers
according your needs.
| |
|
 |
|