You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/03/28 08:48:54 UTC
DO NOT REPLY [Bug 7556] -
Memory grows while transforming
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7556>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7556
Memory grows while transforming
------- Additional Comments From floerke@doctronic.de 2002-03-28 07:48 -------
The same problem applies to variables used in a template.
In the sample stylesheet you can create a variable with the "non-growing"
version and the memory will grow very fast.
<xsl:template match="*">
...
<!-- memory grow fast -->
<xsl:variable name="foovar">
<xsl:call-template name="foo">
<xsl:with-param name="arg1" select="substring(.,2)"/>
</xsl:call-template>
</xsl:variable>
...
</xsl:template>