Increase Available Memory to Transform Large Files

If you receive an error message stating that the input XML file is too large to process, you must increase the amount of heap space used by the Java Virtual machine (JVM). The amount of heap space needed depends on the size of the XML file. A 50 MB XML file may need an initial allocation of 32 MB and a maximum allocation of 512 MB.

To increase the amount of heap space for large files

  1. Open a command line prompt window and change directories to the directory that contains the CARepositoryUniversalXMLTransformer.jar file.
  2. Run the following Java command from the command prompt window to increase the heap allocation of the JVM:
    java -Xms32m -Xmx512m -jar CARepositoryUniversalXMLTransformer.jar
    

    The CA Repository Universal XML Exchange Transformation Utility GUI starts so that you can transform your file.

    You can adjust these parameters depending on the size of the XML file.


Copyright © 2009 CA. All rights reserved. Email CA about this topic