We're always looking for ways to reduce memory requirements, especially
since decreasing this usually increases speed as well.  If you can send me
your XML and XSL files, I can profile it with some memory profilers, like
OptimizeIt! and see what's exhausting the memory, or if we're pinning
objects, or whatever.

Folow-ups to xalan-dev only please.

-Rob



                                                                                
                                                              
                    Andrea                                                      
                                                              
                    Schneider            To:     [EMAIL PROTECTED]              
                                                      
                    <[EMAIL PROTECTED]        cc:     (bcc: Robert 
Weir/CAM/Lotus)                                                                 
                    >                    Subject:     Re: [Fwd: Help!]          
                                                              
                    Sent by:                                                    
                                                              
                    [EMAIL PROTECTED]                                           
                                                                   
                                                                                
                                                              
                                                                                
                                                              
                    03/22/00                                                    
                                                              
                    04:46 AM                                                    
                                                              
                    Please                                                      
                                                              
                    respond to                                                  
                                                              
                    xerces-dev                                                  
                                                              
                                                                                
                                                              
                                                                                
                                                              



[EMAIL PROTECTED] wrote:
>
> Did the larger XML document work before?  My guess is that you need to
> increase the default heap size for java.exe.  The default heap size is
16MB
> for JKD1.1.8.  So, with 90,000 lines of XML you'll suck up a big portion
of
> that heap.
>
> Try increasing the heap size using the "-mx" parameter, e.g. for a 64MB
> heap:
>
> java -mx64000000 org.apache.xalan.xslt.Process -in keeper.xml -xsl
> keeperhtml.xsl
>
> -Rob
>
>
>                     Andrea
>                     Schneider            To:
[EMAIL PROTECTED]
>                     <[EMAIL PROTECTED]        cc:     (bcc: Robert
Weir/CAM/Lotus)
>                     >                    Subject:     [Fwd: Help!]
>                     Sent by:
>                     [EMAIL PROTECTED]
>
>
>                     03/21/00
>                     11:34 AM
>                     Please
>                     respond to
>                     xerces-dev
>
>
>

Hello Rob,
thank you for soon answer. I tried it and first it seems to be the right
way, but
when I increased the heap until 128MB I reached a border. I want ( in
this first
test ) to write 100 invoices. The border is reached on 68 invoices.
Is there another possibility to decrease memory requirements ?

-Andrea




Reply via email to