<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Wed May 22 19:02:54 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://www.couchbase.com/issues/si/jira.issueviews:issue-xml/MB-6096/MB-6096.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Couchbase</title>
    <link>http://www.couchbase.com/issues</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.4</version>
        <build-number>845</build-number>
        <build-date>26-12-2012</build-date>
    </build-info>

<item>
            <title>[MB-6096] Index building is seemingly taking too much ram</title>
                <link>http://www.couchbase.com/issues/browse/MB-6096</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>I have a crash dump that shows that simple index build over 1.2 million of small docs eats tons of ram. I&amp;#39;m going to attach erlang crash dump where you can see second biggest process (0.7277.2 or sort by stack+heap) is index updater.&lt;br/&gt;
&lt;br/&gt;
NOTE: crash itself was caused by attempt to grab diag so biggest process died because of that, but real cause seems to be index building.</description>
                <environment></environment>
            <key id="18782">MB-6096</key>
            <summary>Index building is seemingly taking too much ram</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="5" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/resolved.png">Resolved</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="FilipeManana">Filipe Manana</assignee>
                                <reporter username="alkondratenko">Aleksey Kondratenko</reporter>
                        <labels>
                    </labels>
                <created>Thu, 2 Aug 2012 13:53:45 -0500</created>
                <updated>Thu, 16 Aug 2012 09:36:33 -0500</updated>
                    <resolved>Thu, 16 Aug 2012 09:36:12 -0500</resolved>
                            <version>recent-builds-2.0</version>
                                <fixVersion>2.0-beta</fixVersion>
                                <component>performance</component>
                <component>storage-engine</component>
                <component>view-engine</component>
                                <votes>0</votes>
                        <watches>0</watches>
                                                    <comments>
                    <comment id="34630" author="alkondratenko" created="Thu, 2 Aug 2012 13:55:31 -0500"  >Crash dump can be downloaded here: &lt;a href=&quot;https://docs.google.com/open?id=0B6NtGsLhIcf7QVpwVldNcVlZdkk&quot;&gt;https://docs.google.com/open?id=0B6NtGsLhIcf7QVpwVldNcVlZdkk&lt;/a&gt;</comment>
                    <comment id="35124" author="thuan" created="Fri, 10 Aug 2012 13:28:51 -0500"  >Integrated in github-couchdb-preview #474 (See [&lt;a href=&quot;http://qa.hq.northscale.net/job/github-couchdb-preview/474/&quot;&gt;http://qa.hq.northscale.net/job/github-couchdb-preview/474/&lt;/a&gt;])&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-6096&quot; title=&quot;Index building is seemingly taking too much ram&quot;&gt;&lt;strike&gt;MB-6096&lt;/strike&gt;&lt;/a&gt; Fix too high memory consumption during indexing (Revision c8003e55b9dc8edbee51e5d047c0317aaf192560)&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Result = SUCCESS&lt;br/&gt;
Filipe David Borba Manana : &lt;br/&gt;
Files : &lt;br/&gt;
* src/mapreduce/mapreduce.h&lt;br/&gt;
* src/couchdb/couch_util.erl&lt;br/&gt;
* src/couchdb/couch_db_updater.erl&lt;br/&gt;
* src/mapreduce/mapreduce.cc&lt;br/&gt;
* src/couch_set_view/src/couch_set_view_util.erl&lt;br/&gt;
* src/couchdb/couch_doc.erl&lt;br/&gt;
* src/couchdb/couch_btree.erl&lt;br/&gt;
* src/couch_set_view/src/couch_set_view_updater.erl&lt;br/&gt;
* src/mapreduce/mapreduce_nif.cc&lt;br/&gt;
* src/mapreduce/mapreduce.erl&lt;br/&gt;
</comment>
                    <comment id="35294" author="thuan" created="Mon, 13 Aug 2012 11:03:46 -0500"  >Integrated in github-couchdb-preview #475 (See [&lt;a href=&quot;http://qa.hq.northscale.net/job/github-couchdb-preview/475/&quot;&gt;http://qa.hq.northscale.net/job/github-couchdb-preview/475/&lt;/a&gt;])&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;a href=&quot;http://www.couchbase.com/issues/browse/MB-6096&quot; title=&quot;Index building is seemingly taking too much ram&quot;&gt;&lt;strike&gt;MB-6096&lt;/strike&gt;&lt;/a&gt; Use enif_alloc()/enif_free() in ejson decoder (Revision 2c4b88c46e1ce4500d987552e600eaa200546fe6)&lt;br/&gt;
&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Result = SUCCESS&lt;br/&gt;
Filipe David Borba Manana : &lt;br/&gt;
Files : &lt;br/&gt;
* src/ejson/decode.c&lt;br/&gt;
</comment>
                    <comment id="35624" author="FilipeManana" created="Thu, 16 Aug 2012 09:35:47 -0500"  >Re-opened to assign to myself, since I did all the investigation and code work</comment>
                    <comment id="35625" author="FilipeManana" created="Thu, 16 Aug 2012 09:36:12 -0500"  >Closing again.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Fri, 10 Aug 2012 13:28:51 -0500</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>4469</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                    <customfield id="customfield_10012" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                <customfieldname>Story Points</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>2.0</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                            <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                </customfields>
    </item>
</channel>
</rss>