Configuring Ant

The default setup of Ant might have an insufficient amount of memory available for running CLI scripts or configurations scripts from the TIBCO Configuration Tool. You can increase that value for your Windows or Linux system.

Perform the following steps to ensure that Ant does not run out of memory when executing scripts.

Procedure

  1. Increase the JVM permgen size.
    • Windows Edit %USERPROFILE%\antrc_pre.bat and add following line:

      set ANT_OPTS=-Xmx1024m -XX:MaxPermSize=256m -XX:PermSize=128m

    • UNIX Edit ~/.antrc and add the following line:

      export ANT_OPTS="-Xmx1024m -XX:MaxPermSize=256m -XX:PermSize=128m"

  2. Confirm the value of ANT_OPTS before you execute scripts from the command prompt.