<!-- 
RSS generated by JIRA (4.4#649-r158309) at Tue Jun 18 20:54:31 CDT 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://dev.clojure.org/jira/si/jira.issueviews:issue-xml/DXML-5/DXML-5.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Clojure JIRA</title>
    <link>http://dev.clojure.org/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>4.4</version>
        <build-number>649</build-number>
        <build-date>25-07-2011</build-date>
    </build-info>

<item>
            <title>[DXML-5] OutOfMemory errors when emitting large XML documents</title>
                <link>http://dev.clojure.org/jira/browse/DXML-5</link>
                <project id="10077" key="DXML">data.xml</project>
                        <description>&lt;p&gt;Emitting large XML documents, fed from lazy-seqs in data.xml does not work.  Currently, the lazy-seq is held in a defrecord, which holds onto the head of the lazy-seq and will force it to all be in memory (eventually consuming all available memory).  Example code to reproduce the issue below:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;div class=&quot;error&quot;&gt;&lt;span class=&quot;error&quot;&gt;Unable to find source-code formatter for language: clojure.&lt;/span&gt; Available languages are: javascript, sql, xhtml, actionscript, none, html, xml, java&lt;/div&gt;&lt;pre class=&quot;code-clojure&quot;&gt;(with-open [fw (java.io.FileWriter. &lt;span class=&quot;code-quote&quot;&gt;&quot;/tmp/lots-of-foo.xml&quot;&lt;/span&gt;)]
    (xml/emit
       (Element. :some-tags
           {}
           (map #(Element. :foo {} [(str &lt;span class=&quot;code-quote&quot;&gt;&quot;foo&quot;&lt;/span&gt; %)])
                (range 0 10000000)))
       fw))&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;  </description>
                <environment></environment>
            <key id="15369">DXML-5</key>
            <summary>OutOfMemory errors when emitting large XML documents</summary>
                <type id="1" iconUrl="http://dev.clojure.org/jira/images/icons/bug.gif">Defect</type>
                                <priority id="3" iconUrl="http://dev.clojure.org/jira/images/icons/priority_major.gif">Major</priority>
                    <status id="5" iconUrl="http://dev.clojure.org/jira/images/icons/status_resolved.gif">Resolved</status>
                    <resolution id="1">Completed</resolution>
                                <assignee username="ryansenior">Ryan Senior</assignee>
                                <reporter username="ryansenior">Ryan Senior</reporter>
                        <labels>
                    </labels>
                <created>Fri, 27 Apr 2012 08:01:40 -0500</created>
                <updated>Tue, 26 Jun 2012 13:37:51 -0500</updated>
                    <resolved>Tue, 26 Jun 2012 13:37:11 -0500</resolved>
                                                                    <due></due>
                    <votes>0</votes>
                        <watches>0</watches>
                        <comments>
                    <comment id="28565" author="ryansenior" created="Tue, 22 May 2012 10:57:43 -0500"  >&lt;p&gt;Fixed&lt;/p&gt;</comment>
                    <comment id="28907" author="ryansenior" created="Tue, 26 Jun 2012 12:18:05 -0500"  >&lt;p&gt;Found this to be fixed only in the simplest case.  If you have a large lazy-seq nested below 2+ tags it will hold onto the head of the lazy-seq and consume memory.&lt;/p&gt;</comment>
                    <comment id="28908" author="ryansenior" created="Tue, 26 Jun 2012 13:37:11 -0500"  >&lt;p&gt;Added an intermediate step to emitting elements to the stream writer.  Now elements get flattened to a stream of events that get written to the stream writer.&lt;/p&gt;</comment>
                    <comment id="28909" author="ryansenior" created="Tue, 26 Jun 2012 13:37:51 -0500"  >&lt;p&gt;Not sure how to set a &quot;Fix Version&quot; in Jira, but this was fixed in 0.0.5&lt;/p&gt;</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Global Rank</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                                                                            </customfields>
    </item>
</channel>
</rss>