<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:22:16 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 add field=key&field=summary to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>FOLIO Jira</title>
    <link>https://folio-org.atlassian.net</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>1001.0.0-SNAPSHOT</version>
        <build-number>100246</build-number>
        <build-date>07-02-2024</build-date>
    </build-info>

<item>
            <title>[FOLIO-2654] BigTest terminates execution during source code re-compiling due to memory leaks</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-2654</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;&lt;b&gt;Overview:&lt;/b&gt;&lt;br/&gt;
During development in ui-circulation I&apos;ve faced with annoying issue of BigTest which leads to constant restart of testing command due to memory leaks during re-compiling of source code.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Steps to Reproduce:&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;run tests in ui-circulation&lt;/li&gt;
	&lt;li&gt;after tests will pass pick one &lt;b&gt;describe&lt;/b&gt; and add &lt;b&gt;.only&lt;/b&gt; to it in order to run only selected test suite (or any other action which will lead to tests re-run)&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&lt;b&gt;Expected Results:&lt;/b&gt;&lt;br/&gt;
Tests will re-run for selected test suite.&lt;/p&gt;

&lt;p&gt;&lt;b&gt;Actual Results:&lt;/b&gt; &lt;br/&gt;
Tests run will be terminated because of memory leak.&lt;br/&gt;
 &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;a id=&quot;64296_thumb&quot; href=&quot;/rest/api/3/attachment/content/64296&quot; title=&quot;Screen Shot 2020-06-22 at 14.40.37.png&quot; file-preview-type=&quot;image&quot; file-preview-id=&quot;64296&quot; file-preview-title=&quot;Screen Shot 2020-06-22 at 14.40.37.png&quot;&gt;&lt;jira-attachment-thumbnail url=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/64296?default=false&quot; jira-url=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/64296&quot; filename=&quot;Screen Shot 2020-06-22 at 14.40.37.png&quot;&gt;&lt;img src=&quot;https://folio-org.atlassian.net/rest/api/3/attachment/thumbnail/64296&quot; data-attachment-name=&quot;Screen Shot 2020-06-22 at 14.40.37.png&quot; data-attachment-type=&quot;thumbnail&quot; data-media-services-id=&quot;88194dc0-f813-424a-bce6-b1d947387bff&quot; data-media-services-type=&quot;file&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/jira-attachment-thumbnail&gt;&lt;/a&gt;&lt;/span&gt; &lt;/p&gt;

&lt;p&gt;&lt;b&gt;Additional information&lt;/b&gt;&lt;br/&gt;
OS: Mac OS Mojave 10.14.6&lt;br/&gt;
RAM: 32 GB&lt;br/&gt;
CPU: 2.3 GHz Intel Core i9&lt;br/&gt;
Browser: Chrome Version 83.0.4103.106 (Official Build) (64-bit)&lt;/p&gt;</description>
                <environment></environment>
        <key id="81681">FOLIO-2654</key>
            <summary>BigTest terminates execution during source code re-compiling due to memory leaks</summary>
                <type id="10001" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium">Bug</type>
                                            <priority id="10005" iconUrl="https://dev.folio.org/assets/jira-priority/tbd.svg">TBD</priority>
                        <status id="6" iconUrl="https://folio-org.atlassian.net/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Won&apos;t Do</resolution>
                                                        <assignee accountid="5cffed1a5d548b0c51d6b19b">Anton Emelianov</assignee>
                                                                <reporter accountid="5a1829b0a3481b031fe61aab">Maxim Didenko</reporter>
                                    <labels>
                            <label>bigtest</label>
                    </labels>
                <created>Mon, 22 Jun 2020 13:29:56 +0000</created>
                <updated>Wed, 8 Dec 2021 10:49:08 +0000</updated>
                            <resolved>Wed, 8 Dec 2021 10:49:08 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                <comments>
                                                            <comment id="199156" author="5cffed1a5d548b0c51d6b19b" created="Mon, 22 Jun 2020 13:52:54 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=615afd1cd9820f0070a09ef0&quot; class=&quot;user-hover&quot; rel=&quot;615afd1cd9820f0070a09ef0&quot; data-account-id=&quot;615afd1cd9820f0070a09ef0&quot; accountid=&quot;615afd1cd9820f0070a09ef0&quot; rel=&quot;noreferrer&quot;&gt;Zak Burke&lt;/a&gt;, &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=70121%3A329e0f11-cc86-459e-a311-80d4eb134a7f&quot; class=&quot;user-hover&quot; rel=&quot;70121:329e0f11-cc86-459e-a311-80d4eb134a7f&quot; data-account-id=&quot;70121:329e0f11-cc86-459e-a311-80d4eb134a7f&quot; accountid=&quot;70121:329e0f11-cc86-459e-a311-80d4eb134a7f&quot; rel=&quot;noreferrer&quot;&gt;Sobha Duvvuri&lt;/a&gt;, &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=712020%3A5aa5622d-2839-4be8-9440-d4dccefff707&quot; class=&quot;user-hover&quot; rel=&quot;712020:5aa5622d-2839-4be8-9440-d4dccefff707&quot; data-account-id=&quot;712020:5aa5622d-2839-4be8-9440-d4dccefff707&quot; accountid=&quot;712020:5aa5622d-2839-4be8-9440-d4dccefff707&quot; rel=&quot;noreferrer&quot;&gt;Viktor Soroka&lt;/a&gt;  I think you had similar problem for other modules. Any suggestions how to resolve it in this case? &lt;/p&gt;</comment>
                                                            <comment id="199159" author="615afd1cd9820f0070a09ef0" created="Mon, 22 Jun 2020 16:01:38 +0000"  >&lt;p&gt;Short version: Node is memory hog; allocate more either overall with something like &lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
export NODE_OPTIONS=&lt;span class=&quot;code-quote&quot;&gt;&quot;--max-old-space-size=4096 $NODE_OPTIONS&quot;&lt;/span&gt;
yarn test
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;or for this one command specifically with something like &lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
NODE_OPTIONS=&lt;span class=&quot;code-quote&quot;&gt;&quot;--max-old-space-size=4096 $NODE_OPTIONS&quot;&lt;/span&gt;; yarn test
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Your screenshot shows a problem with &lt;tt&gt;node&lt;/tt&gt; running out of memory, not BigTest (Chrome). We recently saw the same thing in ui-users and some other UI apps; details at 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;FOLIO-2638&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/FOLIO-2638&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;many platform-core and ui-users builds are dying OOM in CI. why???&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10303?size=medium&quot; /&gt;
            FOLIO-2638
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf&quot;&gt;Closed&lt;/span&gt;
            &lt;/span&gt;
. It isn&apos;t clear exactly what changed recently (one big change in the last ~month was migrating from &lt;tt&gt;react-intl&lt;/tt&gt; &lt;tt&gt;v2&lt;/tt&gt; to &lt;tt&gt;v4&lt;/tt&gt; so that&apos;s a suspect). CI boxes have 32GB RAM, we were &quot;only&quot; allocating 2GB to node. Given that we could easily, and with zero cost, throw RAM at the problem and make it go away, we decided it was not worth further investigation at this time even though we would really like to know why this suddenly changed. &lt;/p&gt;</comment>
                                                            <comment id="199160" author="615afd1cd9820f0070a09ef0" created="Mon, 22 Jun 2020 16:19:13 +0000"  >&lt;p&gt;FWIW, I cannot duplicate this problem locally in ui-circulation, even with &lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
NODE_OPTIONS=&lt;span class=&quot;code-quote&quot;&gt;&quot;--max-old-space-size=1024 $NODE_OPTIONS&quot;&lt;/span&gt;; yarn test
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt; 
&lt;p&gt;MacOS &lt;tt&gt;10.14.6&lt;/tt&gt; (Mojave) with Node &lt;tt&gt;12.14.0&lt;/tt&gt;.&lt;/p&gt;</comment>
                                                            <comment id="199163" author="5af5e627525ba96b58654f12" created="Tue, 30 Nov 2021 21:57:59 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=5cffed1a5d548b0c51d6b19b&quot; class=&quot;user-hover&quot; rel=&quot;5cffed1a5d548b0c51d6b19b&quot; data-account-id=&quot;5cffed1a5d548b0c51d6b19b&quot; accountid=&quot;5cffed1a5d548b0c51d6b19b&quot; rel=&quot;noreferrer&quot;&gt;Anton Emelianov&lt;/a&gt; Which team should be assigned to this? It seems like it should move to the FAT project, and be assigned to a dev team. Could you review it? Thank you!&lt;/p&gt;</comment>
                                                            <comment id="199165" author="5cffed1a5d548b0c51d6b19b" created="Tue, 7 Dec 2021 23:16:03 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=615afd1cd9820f0070a09ef0&quot; class=&quot;user-hover&quot; rel=&quot;615afd1cd9820f0070a09ef0&quot; data-account-id=&quot;615afd1cd9820f0070a09ef0&quot; accountid=&quot;615afd1cd9820f0070a09ef0&quot; rel=&quot;noreferrer&quot;&gt;Zak Burke&lt;/a&gt;, Any objections to closing this ticket? &lt;/p&gt;</comment>
                                                            <comment id="199167" author="615afd1cd9820f0070a09ef0" created="Wed, 8 Dec 2021 10:49:08 +0000"  >&lt;p&gt;We are migrating away from BTOG and hence will not put effort into resolving this issue or others like it. &lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="64296" name="Screen Shot 2020-06-22 at 14.40.37.png" size="1921791" author="5a1829b0a3481b031fe61aab" created="Mon, 22 Jun 2020 13:39:29 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummarycf">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i01bun:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10024" key="com.atlassian.jira.ext.charting:firstresponsedate">
                        <customfieldname>[CHART] Date of First Response</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>Mon, 22 Jun 2020 13:52:54 +0000</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10025" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>[CHART] Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>