The AFP files require extensive memory allocation on the system hosting the AFPMerge program. Exact memory allocation is dependent on the number and composition of the AFP merged files. For example, you can enter the following command:
java –Xmx1024M –Xms1024M –jar AfpMerg.jar –l in.txt –o out.afp
The –Xmxset maximum Java heap size and –Xmsset initial Java heap size parameters ensure that the Java virtual machine does not run out of memory. Both –Xmx and –Xms should be set to the same value.
The AFP resources in AFPMerge are in-line. If an AFP resource has an external reference, this is considered a warning condition.