![]() |
Minimizing memory usage |
Post Reply
|
| Author | |
gabig
Admin Group
Joined: 06 Aug 2008 Posts: 144 |
Post Options
Quote Reply
Topic: Minimizing memory usagePosted: 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 |
|
![]() |
|
Post Reply
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |