Generating large documents

Documents are considered large for IBM Engineering Lifecycle Optimization - Publishing (PUB) when they consist of a thousand or more pages. To decrease the time it takes Engineering Publishing to generate large documents, consider using the multipart property in your document specification or changing the contents of your template.

Procedure

  • If you are generating Microsoft Word output, set the multipart property in the document specification:
    1. In the Document Specification view, select the Microsoft Word output.
    2. In the Properties view, locate the multipart property.
    3. Enter one of the following values:
      • STATIC: When set to STATIC, the output is built when the entire report is serialized on the disk, which means that the output is converted into a storable format across a network. Large documents can be generated if the heap size is large enough to accommodate the memory usage. Use STATIC when you include region elements in your templates.
      • DYNAMIC: When set to DYNAMIC, instead of waiting until the entire report is serialized on the disk, the output is built as PUB processes the input for each section that is divided by a section break element. If you specify DYNAMIC to generate a template that contains a region element, you might not see improved generation performance. When a template contains a region element, the entire template must still be serialized on the disk at the end of document generation. Use the STATIC value for templates that contain region elements.
    4. Save the document specification and generate the output. When you open the Microsoft Word output document, the file does not appear to have data in it.
    5. Select all content by pressing Ctrl+A.
    6. Update the fields by pressing Shift+F9.
  • Remove some of the images from your template. If there are fewer images to process, PUB might be able to process the documents correctly without reducing the amount of data contained in them.
  • Remove some of the tables from your template. For documents with more than 15,000 data results and a large number of tables, IBM Engineering Lifecycle Optimization - Publishing(PUB) might display out of memory issues when generating the documents into Microsoft Word and PDF outputs. If there are fewer tables in the template to process, PUB might be able to process the documents correctly without reducing the amount of data contained in them.
  • If the spacing properties for a paragraph are larger than single line spacing, consider changing those properties to create single line spacing. If there are fewer pages of text for PUB to process, PUB might be able to process the documents correctly without reducing the amount of data contained in them.
  • Remove any output formats that are not required from the document specification.
  • If you have tried all of these suggestions and still have issues generating the document, break your document into chunks and generate them separately.