Customizer's Guide > Working with Arbortext Import/Export > Troubleshooting > Importing Very Large Documents
  
Importing Very Large Documents
When attempting to import very large documents (such as 50MB+ MIF files that publish as several-hundred-page documents), Arbortext Publishing Engine may report exception errors and fail to import the documents. In these situations, consider trying the following workarounds to successfully import the documents.
Break the large document into several smaller documents and import the smaller documents.
Raise the maximum size of the Java Virtual Machine (JVM) memory allocation pool by giving a higher value to one of these settings:
APTJAVAVMMEMORY environment variable — sets the size of the pool at startup of Arbortext Editor, when the default JVM is loaded
javavmmemory set option and Advanced Preference — sets the size of the pool at any point before the JVM starts
* 
If APTJAVAVMMEMORY has a value, any set javavmemory commands are ignored.
Be aware that setting this value to too high of a value will result in a failure to start the Java Virtual Machine. If changing this value results in the document being successfully imported, be sure to reset the javavmmemory value. Having this value unnecessarily high may result in other publishing and importing issues.