<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:54:55 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>[YANGTOOLS-1004] four new netconf mounts using same schema not sharing same compiled schema</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-1004</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;It seems that when simultaneously mounting up to four identical devices, they will all be&lt;br/&gt;
compiled and kept in memory even though they can share the same compiled yang models.&lt;/p&gt;

&lt;p&gt;If you first add a single device and wait for it to be full connected (thus, compiled/mounted), the&lt;br/&gt;
remaining devices that are mounted will reuse the already compiled models.&lt;/p&gt;

&lt;p&gt;Also, if you attempt to simultaneously mount 5+ devices, it&apos;s only the first four that are&lt;br/&gt;
duplicated and anything after the 4th will share.&lt;/p&gt;

&lt;p&gt;This may be expected behavior, but with a large compiled schema, you can quickly create&lt;br/&gt;
a case where lots of heap is used and can get to an OOM condition.&lt;/p&gt;</description>
                <environment></environment>
        <key id="31741">YANGTOOLS-1004</key>
            <summary>four new netconf mounts using same schema not sharing same compiled schema</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="5" iconUrl="https://jira.opendaylight.org/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="rovarga">Robert Varga</assignee>
                                    <reporter username="jluhrsen">Jamo Luhrsen</reporter>
                        <labels>
                    </labels>
                <created>Tue, 11 Jun 2019 04:41:15 +0000</created>
                <updated>Fri, 21 Jun 2019 09:16:04 +0000</updated>
                            <resolved>Thu, 13 Jun 2019 08:53:56 +0000</resolved>
                                    <version>3.0.1</version>
                    <version>2.1.10</version>
                    <version>2.0.20</version>
                                    <fixVersion>2.1.11</fixVersion>
                    <fixVersion>2.0.21</fixVersion>
                    <fixVersion>3.0.3</fixVersion>
                                    <component>parser</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="66870" author="jluhrsen" created="Tue, 11 Jun 2019 04:42:57 +0000"  >&lt;p&gt;attached is a screen shot from a profiler showing heap usage before and after mounting 4 devices&lt;br/&gt;
simultaneously. One device consume aprox 375MB heap, so after all four are mounted we end up&lt;br/&gt;
using 2GB+ of heap. Ideally, we would use just 375MB for the first connected device and share&lt;br/&gt;
it for the other 3 devices.&lt;/p&gt;</comment>
                            <comment id="66891" author="jluhrsen" created="Thu, 13 Jun 2019 04:06:52 +0000"  >&lt;p&gt;I&apos;ve tested the change locally and it works as expected. Also pushed the relevant distro through a sanity netconf test and it was fine:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netconf-csit-1node-gate-callhome-only-sodium/11/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://logs.opendaylight.org/releng/vex-yul-odl-jenkins-1/netconf-csit-1node-gate-callhome-only-sodium/11/&lt;/a&gt;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="15221" name="Screen Shot 2019-06-10 at 9.40.44 PM.png" size="178203" author="jluhrsen" created="Tue, 11 Jun 2019 04:41:01 +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_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03o67:</customfieldvalue>

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