<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 04:12:40 UTC 2024

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 append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[SERVER-26616] mongo out of memory on textual query</title>
                <link>https://jira.mongodb.org/browse/SERVER-26616</link>
                <project id="10000" key="SERVER">Core Server</project>
                    <description>&lt;p&gt;We have a mongodb instance 3.2.10 running on machine with 4gb ram.&lt;br/&gt;
I created 700k documents with the string X in them (X is of length 6 character).&lt;br/&gt;
When i run textual query of the type:&lt;br/&gt;
 db.MyCollection.find({$text: {$search: &apos;X&apos;}})&lt;br/&gt;
We see that the memory raises by 800mb.&lt;br/&gt;
After running such a query 3-4 consequential times the mongodb instance is automatically restarted.&lt;/p&gt;

&lt;p&gt;This prevents us from using the textual indexing feature in production.&lt;br/&gt;
Any workaround? Can we disable the query cache for such queries?&lt;/p&gt;</description>
                <environment>mongo on aws docker instance. t2 medium machine</environment>
        <key id="323406">SERVER-26616</key>
            <summary>mongo out of memory on textual query</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="3">Duplicate</resolution>
                                        <assignee username="kelsey.schubert@mongodb.com">Kelsey Schubert</assignee>
                                    <reporter username="archmisha">Michael Dikman</reporter>
                        <labels>
                    </labels>
                <created>Thu, 13 Oct 2016 14:35:32 +0000</created>
                <updated>Thu, 27 Oct 2016 15:01:46 +0000</updated>
                            <resolved>Thu, 27 Oct 2016 15:01:46 +0000</resolved>
                                    <version>3.2.10</version>
                                                    <component>Querying</component>
                    <component>Text Search</component>
                                        <votes>0</votes>
                                    <watches>6</watches>
                                                                                                                <comments>
                            <comment id="1419519" author="thomas.schubert" created="Thu, 27 Oct 2016 15:01:46 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=archmisha&quot; class=&quot;user-hover&quot; rel=&quot;archmisha&quot;&gt;archmisha&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Thank you for providing the diagnostic.data and logs. I&apos;ve examined the files and confirmed that you are encountering &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-26534&quot; title=&quot;Text search uses excessive memory&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-26534&quot;&gt;SERVER-26534&lt;/a&gt;, which is actively being investigated. Please feel free to vote for &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-26534&quot; title=&quot;Text search uses excessive memory&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-26534&quot;&gt;SERVER-26534&lt;/a&gt; and watch it for updates.&lt;/p&gt;

&lt;p&gt;Thanks again,&lt;br/&gt;
Thomas&lt;/p&gt;</comment>
                            <comment id="1419426" author="archmisha" created="Thu, 27 Oct 2016 13:55:57 +0000"  >&lt;p&gt;attached the required files&lt;/p&gt;</comment>
                            <comment id="1408159" author="ramon.fernandez" created="Fri, 14 Oct 2016 01:55:55 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=archmisha&quot; class=&quot;user-hover&quot; rel=&quot;archmisha&quot;&gt;archmisha&lt;/a&gt;, this could be the same as &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-26534&quot; title=&quot;Text search uses excessive memory&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-26534&quot;&gt;SERVER-26534&lt;/a&gt;, which unfortunately, is still unresolved.&lt;/p&gt;

&lt;p&gt;Can you please upload the contents of the &lt;tt&gt;diagnostic.data&lt;/tt&gt; directory for the affected node? The logs from the last restart until you get the &quot;out of memory&quot; message will be helpful as well to determine if you&apos;re running into &lt;a href=&quot;https://jira.mongodb.org/browse/SERVER-26534&quot; title=&quot;Text search uses excessive memory&quot; class=&quot;issue-link&quot; data-issue-key=&quot;SERVER-26534&quot;&gt;SERVER-26534&lt;/a&gt; or if you&apos;ve found something else.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Ram&#243;n.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="322216">SERVER-26534</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="142614" name="metrics.2016-10-13T14-05-40Z-00000" size="41849" author="archmisha" created="Thu, 27 Oct 2016 13:55:57 +0000"/>
                            <attachment id="142615" name="metrics.2016-10-13T14-08-04Z-00000" size="35524" author="archmisha" created="Thu, 27 Oct 2016 13:55:57 +0000"/>
                            <attachment id="141392" name="mongo-crash.txt" size="5964" author="archmisha" created="Thu, 13 Oct 2016 14:35:32 +0000"/>
                            <attachment id="142616" name="mongo.log" size="14299" author="archmisha" created="Thu, 27 Oct 2016 13:55:57 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10050" key="com.atlassian.jira.toolkit:comments">
                        <customfieldname># Replies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10055" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>Date of 1st Reply</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Thu, 13 Oct 2016 14:58:07 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10052" key="com.atlassian.jira.toolkit:dayslastcommented">
                        <customfieldname>Days since reply</customfieldname>
                        <customfieldvalues>
                                        7 years, 15 weeks, 6 days ago
    
                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_18254" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Dependencies</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[]]></customfieldvalue>


                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10057" key="com.atlassian.jira.toolkit:lastusercommented">
                        <customfieldname>Last comment by Customer</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>true</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10056" key="com.atlassian.jira.toolkit:lastupdaterorcommenter">
                        <customfieldname>Last commenter</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>kelsey.schubert@mongodb.com</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_11151" key="com.atlassian.jira.toolkit:LastCommentDate">
                        <customfieldname>Last public comment date</customfieldname>
                        <customfieldvalues>
                            7 years, 15 weeks, 6 days ago
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    <customfield id="customfield_10032" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Operating System</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10026"><![CDATA[ALL]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_10051" key="com.atlassian.jira.toolkit:participants">
                        <customfieldname>Participants</customfieldname>
                        <customfieldvalues>
                                        <customfieldvalue>kelsey.schubert@mongodb.com</customfieldvalue>
            <customfieldvalue>archmisha</customfieldvalue>
            <customfieldvalue>ramon.fernandez@mongodb.com</customfieldvalue>
    
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        <customfield id="customfield_14254" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Product Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hrjtfb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hsqsuf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_23361" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Requested By</customfieldname>
                        <customfieldvalues>
                                

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_10053" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>Time In Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_22870" key="com.onresolve.jira.groovy.groovyrunner:scripted-field">
                        <customfieldname>Triagers</customfieldname>
                        <customfieldvalues>
                                    <customfieldvalue><![CDATA[kelsey.schubert@mongodb.com]]></customfieldvalue>
    

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_14350" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>serverRank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hsegav:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>