<!-- 
RSS generated by JIRA (4.4#649-r158309) at Tue May 21 09:52:12 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/NREPL-22/NREPL-22.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>[NREPL-22] CLONE - set stack size for Android</title>
                <link>http://dev.clojure.org/jira/browse/NREPL-22</link>
                <project id="10022" key="NREPL">tools.nrepl</project>
                        <description>&lt;p&gt;If you want to use nREPL on Android (currently only possible with sattvik&apos;s fork of Clojure) then you need bigger stack sizes than Android&apos;s default 8k to eval even moderately complex expressions. For comparison: A regular JVM on a PC has default stack sizes around 256k ... 512k depending on platform.&lt;/p&gt;

&lt;p&gt;In nrepl.clj, modify&lt;/p&gt;

&lt;p&gt;(doto (Thread. r)&lt;br/&gt;
  (.setDaemon true))))))&lt;/p&gt;

&lt;p&gt;to read&lt;/p&gt;

&lt;p&gt;(doto (Thread. (.getThreadGroup (Thread/currentThread)) r &quot;nREPL&quot; 524288)  ; 512k generous stack size&lt;br/&gt;
  (.setDaemon true))))))&lt;/p&gt;

&lt;p&gt;Note: There are warnings here &lt;a href=&quot;http://bit.ly/u86tF1&quot;&gt;http://bit.ly/u86tF1&lt;/a&gt; about choosing a good stack size but since in practice nREPL seems to have &amp;lt;10 threads running with 1 active client connection we can be generous here.&lt;/p&gt;

&lt;p&gt;The more advanced version would be to make this somehow configurable but that&apos;d probably be over-engineering things.&lt;/p&gt;</description>
                <environment>Android</environment>
            <key id="15561">NREPL-22</key>
            <summary>CLONE - set stack size for Android</summary>
                <type id="4" iconUrl="http://dev.clojure.org/jira/images/icons/improvement.gif">Enhancement</type>
                                <priority id="4" iconUrl="http://dev.clojure.org/jira/images/icons/priority_minor.gif">Minor</priority>
                    <status id="6" iconUrl="http://dev.clojure.org/jira/images/icons/status_closed.gif">Closed</status>
                    <resolution id="3">Duplicate</resolution>
                                <assignee username="cemerick">Chas Emerick</assignee>
                                <reporter username="hank">Hank</reporter>
                        <labels>
                        <label>Android</label>
                    </labels>
                <created>Sat, 30 Jun 2012 09:19:33 -0500</created>
                <updated>Tue, 24 Jul 2012 04:52:02 -0500</updated>
                    <resolved>Tue, 24 Jul 2012 04:52:02 -0500</resolved>
                            <version>0.0.5</version>
                                                        <due></due>
                    <votes>0</votes>
                        <watches>1</watches>
                        <comments>
                    <comment id="28921" author="hank" created="Sat, 30 Jun 2012 09:21:14 -0500"  >&lt;p&gt;I understand that after a brief detour via agents we&apos;re now back to creating our own threads in nREPL. So the above applies gain. Apparently in JIRA you can&apos;t reopen issues so I&apos;m &apos;cloning&apos; this one.&lt;/p&gt;</comment>
                    <comment id="29036" author="cemerick" created="Tue, 24 Jul 2012 04:52:02 -0500"  >&lt;p&gt;I was able to reopen &lt;a href=&quot;http://dev.clojure.org/jira/browse/NREPL-8&quot; title=&quot;set stack size for Android&quot;&gt;&lt;del&gt;NREPL-8&lt;/del&gt;&lt;/a&gt;; let&apos;s track it there.&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>