<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:02:34 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>[INTDIST-20] When starting karaf with arguments meant for jvm they are ignored</title>
                <link>https://jira.opendaylight.org/browse/INTDIST-20</link>
                <project id="10130" key="INTDIST">integration-distribution</project>
                    <description>&lt;p&gt;When starting karaf with f.ex. &lt;br/&gt;
/start -Xmx2G -XX:MaxPermSize=256M -XX:+PrintGCDetails -Xloggc:gc.log&lt;/p&gt;

&lt;p&gt;the flags are ignored. You can see them when running ps aux but they dont get through to the jvm so it runs without them. It&apos;s possible to set the memory flags in setenv script but the others are ignored silently.&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="19326">INTDIST-20</key>
            <summary>When starting karaf with arguments meant for jvm they are ignored</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="-1">Unassigned</assignee>
                                    <reporter username="tcere">Tomas Cere</reporter>
                        <labels>
                    </labels>
                <created>Wed, 12 Nov 2014 13:18:19 +0000</created>
                <updated>Thu, 3 May 2018 15:21:20 +0000</updated>
                            <resolved>Sat, 19 Nov 2016 00:48:07 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>Karaf</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                                                                <comments>
                            <comment id="34906" author="ecelgp" created="Thu, 13 Nov 2014 00:54:28 +0000"  >&lt;p&gt;Hi Tomas,&lt;/p&gt;

&lt;p&gt;In general you can use JAVA_OPTS environment variable to pass any jvm setting and flag:&lt;/p&gt;

&lt;p&gt;export JAVA_OPTS=&quot;-Xmx4096m -XX:MaxPermSize=512m&quot;&lt;/p&gt;

&lt;p&gt;Please let me know if it does not work.&lt;/p&gt;

&lt;p&gt;BR/Luis&lt;/p&gt;</comment>
                            <comment id="34907" author="jbehran@cisco.com" created="Wed, 10 Dec 2014 12:54:46 +0000"  >&lt;p&gt;The &quot;standard way&quot; to pass options to the JVM is:&lt;/p&gt;

&lt;p&gt;JAVA_OPTS=&quot;-Xmx2G -XX:MaxPermSize=256M -XX:+PrintGCDetails -Xloggc:gc.log&quot; bin/start&lt;/p&gt;

&lt;p&gt;The bin/karaf (which is invoked by bin/start) seems to be written in a manner that it takes whatever JAVA_OPTS are stated by the user on the command line. Unfortunately it does not have the feature of parsing its command line, recognizing options meant for the JVM and adding these to JAVA_OPTS.&lt;/p&gt;

&lt;p&gt;However things might break down a bit sometimes. If the Java options are still ignored or you cannot use such a command for whatever reason, then you need to edit bin/karaf to add that stuff into JAVA_OPTS just before Java is launched (at or around lines 415).&lt;/p&gt;</comment>
                            <comment id="34908" author="vrpolak" created="Wed, 17 Dec 2014 11:03:44 +0000"  >&lt;p&gt;&amp;gt; In general you can use JAVA_OPTS environment variable to pass any jvm&lt;br/&gt;
&amp;gt; setting and flag:&lt;/p&gt;

&lt;p&gt;There is a danger in using JAVA_OPTS. bin/karaf (perhaps called by bin/start) does import default memory options from bin/setenv, but only if JAVA_OPTS environment variable is undefined (or empty). That means, if you specify -Xmx in JAVA_OPTS, you also have to specify -XX:MaxPermSize=512M, otherwise you end up with (generally too low) JVM default value (instead of ODL specified one).&lt;/p&gt;</comment>
                    </comments>
                    <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>2367</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=2367]]></customfieldvalue>

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

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