<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:16:32 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>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[NETCONF-1043] Possible memory leak when running get-config with large response file</title>
                <link>https://jira.opendaylight.org/browse/NETCONF-1043</link>
                <project id="10142" key="NETCONF">netconf</project>
                    <description>&lt;p&gt;Hello, guys.&lt;/p&gt;

&lt;p&gt;I&apos;m using the netconf testtool to test a NETCONF device manager, and one of the tests is to check how the manager would handle a (relatively) large configuration data received through a get-config request.&lt;/p&gt;

&lt;p&gt;For that, I&apos;m using a dummy config file 27MB large and passing it in command line with the --initial-config-xml-file parameter. The entire command I used for running the application is this:&lt;/p&gt;

&lt;p&gt;```&lt;br/&gt;
java -jar netconf-testtool-5.0.6-executable.jar --schemas-dir yang_modules --initial-config-xml-file get_config_response.xml --starting-port 17900 --ip 127.0.0.1&lt;/p&gt;

&lt;p&gt;```&lt;/p&gt;

&lt;p&gt;The memory consumption when the application starts is around 120MB. Using a NETCONF client and sending a get-config request, the consumption goes to 750MB; when a second get-config is sent, the consumption goes to 1.1GB and stays at that level for ever if you don&apos;t interact with it anymore.&lt;/p&gt;

&lt;p&gt;Could you please have a look at this?&lt;br/&gt;
I reproduced the same issue with version 3.0.9.&lt;/p&gt;

&lt;p&gt;Attached are the config data file I&apos;m using and a log file. I tried to upload a heap dump I collected but its size exceeds the limit.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment>&lt;p&gt;Host Ubuntu 20.04.4 LTS&lt;/p&gt;

&lt;p&gt;Java openjdk 17.0.7&lt;/p&gt;

&lt;p&gt;Netconf testtool version 5.0.6&lt;/p&gt;</environment>
        <key id="36960">NETCONF-1043</key>
            <summary>Possible memory leak when running get-config with large response file</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.opendaylight.org/images/icons/priorities/critical.svg">High</priority>
                        <status id="1" iconUrl="https://jira.opendaylight.org/images/icons/statuses/open.png" description="The issue is open and ready for the assignee to start work on it.">Open</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="israel.marinho">Israel Marinho</reporter>
                        <labels>
                            <label>pick-next</label>
                            <label>pt</label>
                    </labels>
                <created>Mon, 29 May 2023 14:54:52 +0000</created>
                <updated>Tue, 30 May 2023 23:39:15 +0000</updated>
                                            <version>3.0.9</version>
                    <version>5.0.6</version>
                                                    <component>netconf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                        <attachments>
                            <attachment id="18814" name="get_config_response.xml" size="28462440" author="israel.marinho" created="Mon, 29 May 2023 14:50:57 +0000"/>
                            <attachment id="18813" name="odl_5.0.6.log" size="5139" author="israel.marinho" created="Mon, 29 May 2023 14:50:38 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10301"><![CDATA[Normal]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i045br:</customfieldvalue>

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