You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Morten <mo...@it-c.dk> on 2002/01/31 17:45:13 UTC
Dealing with java.lang.OutOfMemoryError
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="../\@id"/></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