Edit online

If you are working with a large project with extensive metadata or key references, you may need to increase the amount of memory that is allocated to the Java process that performs the publishing.

When the Transformation is Started from Oxygen

It is possible to alter the memory allocation setting from the transformation scenario:
  1. Open the Configure Transformation Scenario(s) dialog box.
  2. Select your transformation scenario, then click Edit.
  3. Go to the Advanced tab.
  4. Locate the JVM Arguments, and increase the default value. For instance, to set 1GB as maximum of memory, you can specify: -Xmx1024m.

When the Transformation is Started from the Command Line

You can change the value of the ANT_OPTS environment variable from a command line for a specific session.

Example: To increase the JVM memory allocation to 1024 MB for a specific session, issue the following command from a command prompt (depending on your operating system):
  • Windows
    set ANT_OPTS=%ANT_OPTS% -Xmx1024M
  • Linux/Mac OS X
    export ANT_OPTS=$ANT_OPTS -Xmx1024M
Tip: To persistently change the memory allocation, change the value allocated to the ANT_OPTS environment variable on your system.