Jindent - Java Source Code Formatter - Beautifier - Pretty Printer - Java Indent



:::::::: Java Source Code Formatter - Beautifier - Pretty Printer - Java Indent Tool ::::::::

Contact the developer of Jindent.  
 
English /


    Home
    News
    References
    Customers
Customer Service Area
    Contact
 
Products
Jindent 4.0
     Overview
     Feature History
     Documentation
     FAQ
     License
     Download
 
Purchase
    Purchase By Fax
    Purchase Online
    Resellers
 
Misc
    Links
 


Polling
Which programming language do you want Jindent to support ?
  ABAP
  C/C++
  C#
  Cobol
  Delphi
  Fortran
  Groovy
  HTML
  Javascript
  JSP
  Pascal
  PHP
  SQL
  SQL/PL
  VHDL
  Visual Basic
  XML

  

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

If there are still any questions left please email us.




  1. Jindent does not format certain files and shows error message Java Error: null or Java Error: OutOfMemoryException. How can I fix this?






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.








































Terms Of Use