<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 19:54:00 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>[CONTROLLER-839] Clustering : Snapshotting uses up too much memory</title>
                <link>https://jira.opendaylight.org/browse/CONTROLLER-839</link>
                <project id="10113" key="CONTROLLER">controller</project>
                    <description>&lt;p&gt;Snapshotting the in-memory datastore within a shard can lead to out of memory when the in-memory datastore grows really large.&lt;/p&gt;

&lt;p&gt;For example with 4GB memory allocated adding about 180K Flows into the config datastore exhausts all the memory. &lt;/p&gt;

&lt;p&gt;From analysis it seems like the act of creating a snapshot is what exhausts the memory instead if retaining the bytes for the snapshot itself in memory. A snapshot is about a  10th of the size of the in-memory datastore.&lt;/p&gt;

&lt;p&gt;To reproduce,&lt;/p&gt;


&lt;p&gt;To reproduce,&lt;/p&gt;

&lt;p&gt;1. Build the OpenFlowPlugin Karaf distribution&lt;br/&gt;
2. Run the controller with the following options&lt;br/&gt;
JAVA_MAX_MEM=4G JAVA_MAX_PERM_MEM=512m ./karaf&lt;br/&gt;
3. Install the odl-mdsal-clustering feature, also install jolokia&lt;br/&gt;
4. Run the attached script with the following options&lt;br/&gt;
 /usr/local/bin/python flow_config_perf.py --nflows 500 --nthreads=5 --ncycles 60 --no-delete&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: Mac OS&lt;br/&gt;
Platform: PC&lt;/p&gt;</environment>
        <key id="25393">CONTROLLER-839</key>
            <summary>Clustering : Snapshotting uses up too much memory</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="10000">Done</resolution>
                                        <assignee username="prem.sankar.g@ericsson.com">Prem Sankar</assignee>
                                    <reporter username="moraja@cisco.com">Moiz Raja</reporter>
                        <labels>
                    </labels>
                <created>Mon, 15 Sep 2014 17:15:06 +0000</created>
                <updated>Tue, 6 Jan 2015 16:34:11 +0000</updated>
                            <resolved>Tue, 6 Jan 2015 16:34:11 +0000</resolved>
                                    <version>Helium</version>
                                                    <component>mdsal</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="49192" author="moraja@cisco.com" created="Tue, 14 Oct 2014 15:28:42 +0000"  >&lt;p&gt;This will probably be fixed by the Stream Reader/Writer (see &lt;a href=&quot;https://jira.opendaylight.org/browse/CONTROLLER-897&quot; title=&quot;Clustering : Create a NormalizedNode Stream Writer/Reader&quot; class=&quot;issue-link&quot; data-issue-key=&quot;CONTROLLER-897&quot;&gt;&lt;del&gt;CONTROLLER-897&lt;/del&gt;&lt;/a&gt;). So hold off on working on this one.&lt;/p&gt;</comment>
                            <comment id="49193" author="moraja@cisco.com" created="Tue, 6 Jan 2015 16:34:11 +0000"  >&lt;p&gt;We do not store snapshots in memory&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                                                <inwardlinks description="is blocked by">
                                        <issuelink>
            <issuekey id="25428">CONTROLLER-874</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="25451">CONTROLLER-897</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </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>1884</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=1884]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

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

                        </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|i02mvj:</customfieldvalue>

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