SAXON: out of memory

Subject: SAXON: out of memory
From: Zsolt Czinkos <czinkos@xxxxxxxxxxxxx>
Date: Thu, 29 Jul 1999 23:12:18 +0000

I compiled the following stylesheet with SAXON, and when I tried to
apply it on a 2megs file it stoped with: out of memory.
Are there any solution for such a big file? 
I wrote a small Java program to do the same, but with Propagator (and
Wanderer) it said the same. I "solved" the problem with using
Distributor, but it would be better for me to write stylesheets instead
of java. (I am not a computer programmer. :-(( ) 

Thanks in advance,



<?xml version="1.0"?>

<!-- This SAXON-stylesheet generates an XML file-structure
     for ShowUmilItem and ShowTOC -->

<xsl:stylesheet xmlns:xsl="";
class="Generate" servlet="N">

<!-- +++++++++++++++++++++++++++++++++++++++++++++++ -->

<xsl:param-variable name="dir">UMIL</xsl:param-variable>
<xsl:variable name="fileseparator"
expr="system-property('file.separator')" />

<xsl:template match="/">
    <xsl:output file="{$dir}{$fileseparator}index.html" format="HTML">
                <title>STEP - XML + SAXON demo for UMIL</title>
            <body bgcolor="#EAEAAD">
            <br /><br />
                    Nice page, isn't it? Click here to begin!</a>

    <xsl:output file="{$dir}{$fileseparator}index.xml" format="XML">
        <xsl:for-each select="//CIKK">
            <cikk ref="{@ID}">
                    <xsl:value-of select=".//CIMSZO"/>
    <xsl:for-each select="//CIKK">
        <xsl:output file="{$dir}{$fileseparator}{@ID}" format="XML">



 XSL-List info and archive:

Current Thread