Which version are you working with?

-scott




                                                                                
                                   
                    Morten                                                      
                                   
                    <[EMAIL PROTECTED]       To:     [EMAIL PROTECTED]          
                            
                    k>                   cc:     (bcc: Scott Boag/CAM/Lotus)    
                                   
                                         Subject:     Dealing with 
java.lang.OutOfMemoryError                      
                    01/31/2002                                                  
                                   
                    11:45 AM                                                    
                                   
                                                                                
                                   
                                                                                
                                   





Hi. I'm looking for ways to improve my usage of Xalan-J.
I'm working on a ~500Mb file, with the following simple
stylesheet:

<?xml version="1.0" encoding="iso-8859-1"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
version="1.0">
<xsl:import href="../common.xsl"/>
<xsl:output encoding="iso-8859-1"/>
<xsl:template match="newsrcs">
<xsl:apply-templates select="newsrc/group/subscribed"/></xsl:template>
<xsl:template match="subscribed">
"<xsl:value-of select="../../@user"/>","<xsl:call-template
name="replaceDotUnderscore"><xsl:with-param name="string"
select="../[EMAIL PROTECTED]"/></xsl:call-template>"
</xsl:template>
</xsl:stylesheet>

I execute with the following parameters:

java -Xmx196M -Xms196M org.apache.xalan.xslt.Process -IN /tmp/NEWSFILE
-XSL group_relations_bulk.xsl -FLAVOR s2s -TEXT -EDUMP

What can I do to stop running out of memory? Is my 'FLAVOR' parameter
wrong?

Thanks,

Morten





Reply via email to