<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:54:17 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-779] OOM expection while parsing 27.1 MB of YANG with 2GO RAM</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-779</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;Mount a vMX with Junos version 17.3 ends up with OOM expection.&lt;br/&gt;
Attached a deadlock revealed by Java Yourkit Profiler.&lt;/p&gt;

&lt;p&gt;Link to the thread dump: &lt;a href=&quot;https://drive.google.com/open?id=0B6yJWkVd2RfUdW4xZTJfR3hOUkk&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://drive.google.com/open?id=0B6yJWkVd2RfUdW4xZTJfR3hOUkk&lt;/a&gt;&lt;br/&gt;
Link to the schema being parsed: &lt;a href=&quot;https://drive.google.com/open?id=0B6yJWkVd2RfUdW4xZTJfR3hOUkk&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://drive.google.com/open?id=0B6yJWkVd2RfUdW4xZTJfR3hOUkk&lt;/a&gt;&lt;br/&gt;
Link to the logs at TRACE level (but for NETCONF): &lt;a href=&quot;https://drive.google.com/open?id=0B6yJWkVd2RfUdW4xZTJfR3hOUkk&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://drive.google.com/open?id=0B6yJWkVd2RfUdW4xZTJfR3hOUkk&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Increasing the memory of ODL to 8GO fixes this issues.&lt;/p&gt;

&lt;p&gt;Opening this ticket in case it worth being looked at this improve Yangtools parsing mechanism so it handles better heavy load.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="23199">YANGTOOLS-779</key>
            <summary>OOM expection while parsing 27.1 MB of YANG with 2GO RAM</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <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="10002">Duplicate</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="adetalhouet">Alexis de Talhou&#235;t</reporter>
                        <labels>
                    </labels>
                <created>Tue, 30 May 2017 19:17:08 +0000</created>
                <updated>Sun, 10 Apr 2022 18:35:59 +0000</updated>
                            <resolved>Mon, 5 Jun 2017 14:05:56 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="44430" author="adetalhouet" created="Tue, 30 May 2017 19:17:08 +0000"  >&lt;p&gt;Attachment deadlock.txt has been added with description: deadlock&lt;/p&gt;</comment>
                            <comment id="44427" author="pkajsa" created="Wed, 31 May 2017 04:40:17 +0000"  >&lt;p&gt;Some issues have been resolved in scope of &lt;a href=&quot;https://jira.opendaylight.org/browse/YANGTOOLS-660&quot; title=&quot;SchemaContext - excessive memory consumption&quot; class=&quot;issue-link&quot; data-issue-key=&quot;YANGTOOLS-660&quot;&gt;&lt;del&gt;YANGTOOLS-660&lt;/del&gt;&lt;/a&gt;. We need to perform further analysis and optimization.&lt;/p&gt;</comment>
                            <comment id="44428" author="adetalhouet" created="Wed, 31 May 2017 14:58:30 +0000"  >&lt;p&gt;This is occurring in stable/carbon code (of NETCONF: commit 3521a2de8699c36ea4d92402a622b28d25e4a8a5&lt;/p&gt;

&lt;p&gt;Peter, I believe the code I run is incorporating the fixes of &lt;a href=&quot;https://jira.opendaylight.org/browse/YANGTOOLS-660&quot; title=&quot;SchemaContext - excessive memory consumption&quot; class=&quot;issue-link&quot; data-issue-key=&quot;YANGTOOLS-660&quot;&gt;&lt;del&gt;YANGTOOLS-660&lt;/del&gt;&lt;/a&gt; as this was a fresh build from yesterday.&lt;/p&gt;</comment>
                            <comment id="44429" author="rovarga" created="Mon, 5 Jun 2017 14:05:56 +0000"  >&lt;p&gt;Looking at the allocation failure path (in attachment) and the memory dumps provided we are failing to allocate more SubstatementContexts.&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/browse/YANGTOOLS-694&quot; title=&quot;Eliminate duplicate DescriptionEffectiveStatementImpl objects&quot; class=&quot;issue-link&quot; data-issue-key=&quot;YANGTOOLS-694&quot;&gt;&lt;del&gt;YANGTOOLS-694&lt;/del&gt;&lt;/a&gt; already describes the problem and has a very rough outline of the fix.&lt;/p&gt;

&lt;p&gt;In the mean time &lt;a href=&quot;https://git.opendaylight.org/gerrit/58067&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://git.opendaylight.org/gerrit/58067&lt;/a&gt; should help a tiny bit, but not nearly enough.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10002">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="23114">YANGTOOLS-694</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="13079" name="deadlock.txt" size="10693" author="adetalhouet89@gmail.com" created="Tue, 30 May 2017 19:17:08 +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_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8569</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=8569]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10324"><![CDATA[Carbon-SR1]]></customfieldvalue>

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

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