Ecrion Software Inc. Homepage
Forum Home Forum Home > XF Rendering Server > FAQ
  New Posts New Posts RSS Feed: Minimizing memory usage
  FAQ FAQ  Forum Search   Register Register  Login Login

Minimizing memory usage

 Post Reply Post Reply
Author
Message / View First Unread Post
gabig View Drop Down
Admin Group
Admin Group


Joined: 06 Aug 2008
Posts: 144
Post Options Post Options   Quote gabig Quote  Post ReplyReply Direct Link To This Post Topic: Minimizing memory usage
    Posted: 06 Aug 2008 at 10:29am
Place headers and footers before bodies.
For the least memory consumption, headers and footers must be defined before document’s body (all fo:static-content before fo:flow). Similarly, table headers and footers must be defined before table’s body. If this condition cannot be ensured a significant memory penalty may occur (see also Making sure your documents work with XF Ultrascale).

Avoid automatic table layout whenever possible
In order to process documents incrementally, Ultrascale needs to discard content as soon as possible. For automatic table layout the server must load the entire table in memory to calculate column widhts. If you specify widths for all <fo:table-column/> elements and set table-layout="fixed" you will notice an improved processing speed and lower memory consumption.

Table cells should not expand too many pages
You should avoid placing a major part of your document inside a single fo:table-cell element, because table rows need to be kept in memory until all their cells are completed.

List item labels should not expand too many pages
You should avoid placing a major part of your document inside a single fo:list-item-label element. List items need to be kept in memory until their label element is fully processed (because their body needs to be processed afterwards).



Edited by admin - 17 Mar 2010 at 9:39am
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.69
Copyright ©2001-2010 Web Wiz

This page was generated in 0.172 seconds.