<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic VTune running out of memory when finalizing results in Analyzers</title>
    <link>https://community.intel.com/t5/Analyzers/VTune-running-out-of-memory-when-finalizing-results/m-p/1504566#M23663</link>
    <description>&lt;P&gt;VTune is running out of (256G of) memory when finalizing two 10-minute traces with around 100MB of raw data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Three machines involved:&lt;/P&gt;&lt;P&gt;"target": Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz, 16GB of RAM. Ubuntu Server 22.04 LTS. Intel VTune&amp;nbsp;2023.1.0.625246&lt;/P&gt;&lt;P&gt;"host": AMD Ryzen 7950X, 64GB of RAM. Ubuntu Desktop 23.04.&amp;nbsp;Intel VTune&amp;nbsp;2023.1.0.625246&lt;/P&gt;&lt;P&gt;"helper": A node in an HPC cluster, Intel(R) Xeon(R) Platinum 8260 CPU @ 2.40GHz, 256GB memory requested. Springdale Linux. Intel VTune&amp;nbsp;2022.4.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first trace is collected directly on the "target" with CLI:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="bash"&gt;vtune -collect uarch-exploration -knob collect-memory-bandwidth=true -analyze-system -duration=600 -data-limit=2500 -r &amp;lt;dir&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;VTune is installed with the OneAPI installer. It ran out of memory when finalizing the trace. The target had 16GB of memory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The second trace is collected with GUI on the "host," configured to "Remote Linux (SSH)" into&amp;nbsp; "target," with VTune profiler deployed by the GUI into /tmp. Microarchitecture exploration, 2500MB data limit, and manually stopped around 10 minutes. It ran out of (64GB) memory on the "host" machine after collection is stopped and finalizing the results, and was killed by the kernel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The second trace was copied onto "helper" and finalized with "vtune -finalize --finalization-mode=full -r &amp;lt;result&amp;gt;". It ran out of 256GB of memory. Changing to finalization mode fast did not help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In all the cases, VTune memory consumption grow steadily until maximum, and stuck on "vtune: Executing actions 25 % Loading 'system-wide.perf' file"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can share the trace file if someone is interested in recreating the error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jul 2023 19:19:42 GMT</pubDate>
    <dc:creator>metricv</dc:creator>
    <dc:date>2023-07-13T19:19:42Z</dc:date>
    <item>
      <title>VTune running out of memory when finalizing results</title>
      <link>https://community.intel.com/t5/Analyzers/VTune-running-out-of-memory-when-finalizing-results/m-p/1504566#M23663</link>
      <description>&lt;P&gt;VTune is running out of (256G of) memory when finalizing two 10-minute traces with around 100MB of raw data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Three machines involved:&lt;/P&gt;&lt;P&gt;"target": Intel(R) Xeon(R) CPU E5-2620 v4 @ 2.10GHz, 16GB of RAM. Ubuntu Server 22.04 LTS. Intel VTune&amp;nbsp;2023.1.0.625246&lt;/P&gt;&lt;P&gt;"host": AMD Ryzen 7950X, 64GB of RAM. Ubuntu Desktop 23.04.&amp;nbsp;Intel VTune&amp;nbsp;2023.1.0.625246&lt;/P&gt;&lt;P&gt;"helper": A node in an HPC cluster, Intel(R) Xeon(R) Platinum 8260 CPU @ 2.40GHz, 256GB memory requested. Springdale Linux. Intel VTune&amp;nbsp;2022.4.0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first trace is collected directly on the "target" with CLI:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="bash"&gt;vtune -collect uarch-exploration -knob collect-memory-bandwidth=true -analyze-system -duration=600 -data-limit=2500 -r &amp;lt;dir&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;VTune is installed with the OneAPI installer. It ran out of memory when finalizing the trace. The target had 16GB of memory.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The second trace is collected with GUI on the "host," configured to "Remote Linux (SSH)" into&amp;nbsp; "target," with VTune profiler deployed by the GUI into /tmp. Microarchitecture exploration, 2500MB data limit, and manually stopped around 10 minutes. It ran out of (64GB) memory on the "host" machine after collection is stopped and finalizing the results, and was killed by the kernel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The second trace was copied onto "helper" and finalized with "vtune -finalize --finalization-mode=full -r &amp;lt;result&amp;gt;". It ran out of 256GB of memory. Changing to finalization mode fast did not help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In all the cases, VTune memory consumption grow steadily until maximum, and stuck on "vtune: Executing actions 25 % Loading 'system-wide.perf' file"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can share the trace file if someone is interested in recreating the error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 19:19:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTune-running-out-of-memory-when-finalizing-results/m-p/1504566#M23663</guid>
      <dc:creator>metricv</dc:creator>
      <dc:date>2023-07-13T19:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: VTune running out of memory when finalizing results</title>
      <link>https://community.intel.com/t5/Analyzers/VTune-running-out-of-memory-when-finalizing-results/m-p/1504570#M23664</link>
      <description>&lt;P&gt;Some broad metrics collected from the "helper" machine.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="metricv_0-1689276430449.png" style="width: 933px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/43551i670D62E8B9F6C921/image-dimensions/933x196/is-moderation-mode/true?v=v2&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" width="933" height="196" role="button" title="metricv_0-1689276430449.png" alt="metricv_0-1689276430449.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="metricv_1-1689276464114.png" style="width: 933px;"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/43552i077C0DBFCBFD8A5D/image-dimensions/933x196/is-moderation-mode/true?v=v2&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" width="933" height="196" role="button" title="metricv_1-1689276464114.png" alt="metricv_1-1689276464114.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;There are write operations, but the result directory did not grow in size.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 19:29:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTune-running-out-of-memory-when-finalizing-results/m-p/1504570#M23664</guid>
      <dc:creator>metricv</dc:creator>
      <dc:date>2023-07-13T19:29:32Z</dc:date>
    </item>
    <item>
      <title>Re: VTune running out of memory when finalizing results</title>
      <link>https://community.intel.com/t5/Analyzers/VTune-running-out-of-memory-when-finalizing-results/m-p/1504577#M23665</link>
      <description>&lt;P&gt;Update: Finalization was completed with 280GB of RAM consumption. Why does it require so much RAM?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2023 20:20:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTune-running-out-of-memory-when-finalizing-results/m-p/1504577#M23665</guid>
      <dc:creator>metricv</dc:creator>
      <dc:date>2023-07-13T20:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: VTune running out of memory when finalizing results</title>
      <link>https://community.intel.com/t5/Analyzers/VTune-running-out-of-memory-when-finalizing-results/m-p/1505549#M23675</link>
      <description>&lt;P&gt;Hi, Thanks for posting in Intel communities.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We would like to know more information on this,&lt;/P&gt;
&lt;P&gt;1. Is it the case with other analysis too?&lt;/P&gt;
&lt;P&gt;2. Do you observe the same with matrix sample under VTune samples with Microarchitecture analysis.&lt;/P&gt;
&lt;LI-CODE lang="bash"&gt;/opt/intel/oneapi/vtune/latest/samples/en/C++/matrix&lt;/LI-CODE&gt;
&lt;P&gt;3. Requesting to share your sample reproducer to replicate this from our end.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Rajashekar&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 18:55:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTune-running-out-of-memory-when-finalizing-results/m-p/1505549#M23675</guid>
      <dc:creator>RajashekarK_Intel</dc:creator>
      <dc:date>2023-07-17T18:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: VTune running out of memory when finalizing results</title>
      <link>https://community.intel.com/t5/Analyzers/VTune-running-out-of-memory-when-finalizing-results/m-p/1505585#M23676</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Rajashekar,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for the response!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. I did not try other kinds of analysis other than microarchitectural exploration.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. I did not try profiling other workloads. The issue seems to be going away after a reboot of the target machine, so I cannot replicate it now. Most likely, some workload on the target system was causing this, and it's gone after a reboot.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. Please use this link and request access:&amp;nbsp;&lt;A href="https://drive.google.com/file/d/1uVXjlnvqW-3ljpIe8CZCy1B3BLrH92eQ/view?usp=sharing" target="_self"&gt;https://drive.google.com/file/d/1uVXjlnvqW-3ljpIe8CZCy1B3BLrH92eQ/view?usp=sharing&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jul 2023 20:08:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTune-running-out-of-memory-when-finalizing-results/m-p/1505585#M23676</guid>
      <dc:creator>metricv</dc:creator>
      <dc:date>2023-07-17T20:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: VTune running out of memory when finalizing results</title>
      <link>https://community.intel.com/t5/Analyzers/VTune-running-out-of-memory-when-finalizing-results/m-p/1505803#M23678</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.intel.com/t5/user/viewprofilepage/user-id/303153"&gt;@metricv&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Glad to know that your issue is resolved after the reboot. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Rajashekar&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jul 2023 06:53:05 GMT</pubDate>
      <guid>https://community.intel.com/t5/Analyzers/VTune-running-out-of-memory-when-finalizing-results/m-p/1505803#M23678</guid>
      <dc:creator>RajashekarK_Intel</dc:creator>
      <dc:date>2023-07-18T06:53:05Z</dc:date>
    </item>
  </channel>
</rss>

