<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:35:47 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>[GODRIVER-1152] Memory leak in connection.ReadWireMessage</title>
                <link>https://jira.mongodb.org/browse/GODRIVER-1152</link>
                <project id="14289" key="GODRIVER">Go Driver</project>
                    <description>&lt;p&gt;I&apos;m trying to switch from mgo to the mongo-go-driver in a relatively simple oplog tailing application.  After a few hours, I observe rather high resident memory (multiple GiB).  When I take a heap profile, it&apos;s implicating connection.ReadWireMessage; specifically &quot;&lt;tt&gt;c.readBuf = make([]byte, size)&lt;/tt&gt;&quot;.&lt;/p&gt;

&lt;p&gt;This is somewhat similar to &lt;a href=&quot;https://jira.mongodb.org/browse/GODRIVER-951&quot; title=&quot;golang connection consume huge memory, maybe memory leak&quot; class=&quot;issue-link&quot; data-issue-key=&quot;GODRIVER-951&quot;&gt;&lt;del&gt;GODRIVER-951&lt;/del&gt;&lt;/a&gt;, but I believe that is caused by a different bug, because in my case, I&apos;m only seeing 16 MiB blocks being allocated, as expected.&lt;/p&gt;</description>
                <environment></environment>
        <key id="808718">GODRIVER-1152</key>
            <summary>Memory leak in connection.ReadWireMessage</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</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="13203">Gone away</resolution>
                                        <assignee username="divjot.arora@mongodb.com">Divjot Arora</assignee>
                                    <reporter username="bartle">David Bartley</reporter>
                        <labels>
                    </labels>
                <created>Wed, 19 Jun 2019 22:20:05 +0000</created>
                <updated>Fri, 27 Oct 2023 20:01:24 +0000</updated>
                            <resolved>Mon, 24 Jun 2019 20:24:27 +0000</resolved>
                                                                    <component>Networking</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2295617" author="divjot.arora" created="Mon, 24 Jun 2019 20:24:27 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=bartle&quot; class=&quot;user-hover&quot; rel=&quot;bartle&quot;&gt;bartle&lt;/a&gt; I&apos;m closing this ticket as it seems like the issue was caused externally. Also, the code for &lt;tt&gt;ReadWireMessage&lt;/tt&gt; has changed in master to take a &lt;tt&gt;[]byte&lt;/tt&gt; rather than caching a buffer on the connection object itself, so the performance characteristics will change as well.&lt;/p&gt;</comment>
                            <comment id="2295602" author="bartle" created="Mon, 24 Jun 2019 20:20:05 +0000"  >&lt;p&gt;I did a bit more debugging and tracked it down to leaked Client&apos;s (i.e. Disconnect was not being called).&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|huvb47:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>