View | Details | Raw Unified | Return to bug 53130
Collapse All | Expand All

(-)src/documentation/content/xdocs/spreadsheet/how-to.xml (+12 lines)
Lines 655-660 Link Here
655
   <p> 
655
   <p> 
656
   Note that SXSSF allocates temporary files that you <strong>must</strong> always clean up explicitly, by calling the dispose method.
656
   Note that SXSSF allocates temporary files that you <strong>must</strong> always clean up explicitly, by calling the dispose method.
657
   </p> 
657
   </p> 
658
    <p>
659
    SXSSFWorkbook defaults to using inline strings instead of a shared strings
660
    table. This is very efficient, since no document content needs to be kept in
661
    memory, but is also known to produce documents that are incompatible with
662
    some clients. With shared strings enabled all unique strings in the document
663
    has to be kept in memory. Depending on your document content this could use
664
    a lot more resources than with shared strings disabled.
665
    </p>
666
    <p>
667
    Carefully review your memory budget and compatibility needs before deciding
668
    whether to enable shared strings or not.
669
    </p>
658
    <p> The example below writes a sheet with a window of 100 rows. When the row count reaches 101, 
670
    <p> The example below writes a sheet with a window of 100 rows. When the row count reaches 101, 
659
        the row with rownum=0 is flushed to disk and removed from memory, when rownum reaches 102 then the row with rownum=1 is flushed, etc.
671
        the row with rownum=0 is flushed to disk and removed from memory, when rownum reaches 102 then the row with rownum=1 is flushed, etc.
660
    </p> 
672
    </p> 

Return to bug 53130