<?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 MKL: PARDISO: memory leak, default settings in Intel® oneAPI Math Kernel Library</title>
    <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-memory-leak-default-settings/m-p/880490#M9487</link>
    <description>Hi!&lt;BR /&gt;Using MKL-PARDISO I experience all sorts of memory leaks; I traced these down to being calls to _mkl_pds_gepmetis_pardiso(), which in turn causes the _heap_alloc_dbg() to allocate the memory in question a few calls down. In total I have four memory leaks. I'm using mtype=6 (complex, symmetric).&lt;BR /&gt;On a different thread I read there were issues with memory leaks in pardiso before, but it was stated these problems should be fixed in 10.1. release...&lt;BR /&gt;Anything I can do to fix these leaks?&lt;BR /&gt;&lt;BR /&gt;thanks,</description>
    <pubDate>Wed, 02 Sep 2009 07:50:42 GMT</pubDate>
    <dc:creator>Perpf2000</dc:creator>
    <dc:date>2009-09-02T07:50:42Z</dc:date>
    <item>
      <title>MKL: PARDISO: memory leak, default settings</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-memory-leak-default-settings/m-p/880490#M9487</link>
      <description>Hi!&lt;BR /&gt;Using MKL-PARDISO I experience all sorts of memory leaks; I traced these down to being calls to _mkl_pds_gepmetis_pardiso(), which in turn causes the _heap_alloc_dbg() to allocate the memory in question a few calls down. In total I have four memory leaks. I'm using mtype=6 (complex, symmetric).&lt;BR /&gt;On a different thread I read there were issues with memory leaks in pardiso before, but it was stated these problems should be fixed in 10.1. release...&lt;BR /&gt;Anything I can do to fix these leaks?&lt;BR /&gt;&lt;BR /&gt;thanks,</description>
      <pubDate>Wed, 02 Sep 2009 07:50:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-memory-leak-default-settings/m-p/880490#M9487</guid>
      <dc:creator>Perpf2000</dc:creator>
      <dc:date>2009-09-02T07:50:42Z</dc:date>
    </item>
    <item>
      <title>Re: MKL: PARDISO: memory leak, default settings</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-memory-leak-default-settings/m-p/880491#M9488</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/441076"&gt;Perpf2000&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt;Hi!&lt;BR /&gt;Using MKL-PARDISO I experience all sorts of memory leaks; I traced these down to being calls to _mkl_pds_gepmetis_pardiso(), which in turn causes the _heap_alloc_dbg() to allocate the memory in question a few calls down. In total I have four memory leaks. I'm using mtype=6 (complex, symmetric).&lt;BR /&gt;On a different thread I read there were issues with memory leaks in pardiso before, but it was stated these problems should be fixed in 10.1. release...&lt;BR /&gt;Anything I can do to fix these leaks?&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;&lt;BR /&gt;... found a hint on a different thread: MKL_Free_Buffers() does the trick!&lt;BR /&gt;Maybe it would be a good idea to place a note in the appropriate chapters of the manual (i.e. page 2512) and/or add this call to the example-code (i.e. Example C7. pardiso_sym.c)?&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Sep 2009 08:19:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-memory-leak-default-settings/m-p/880491#M9488</guid>
      <dc:creator>Perpf2000</dc:creator>
      <dc:date>2009-09-02T08:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: MKL: PARDISO: memory leak, default settings</title>
      <link>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-memory-leak-default-settings/m-p/880492#M9489</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/441076"&gt;Perpf2000&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; ... found a hint on a different thread: MKL_Free_Buffers() does the trick!&lt;BR /&gt;Maybe it would be a good idea to place a note in the appropriate chapters of the manual (i.e. page 2512) and/or add this call to the example-code (i.e. Example C7. pardiso_sym.c)?&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;There is a whole section &lt;STRONG&gt;&lt;EM&gt;Using Intel MKL Memory Management&lt;/EM&gt;&lt;/STRONG&gt; in user's Guide (page 6-17) in Managing Performance and Memory Chapter.&lt;BR /&gt;&lt;BR /&gt;Call at the end...,  well, the program terminates so memory is anyway deallocated. Sure it would be educational but then .... you're assumed to read .. manual before trying samples:-)&lt;BR /&gt;&lt;BR /&gt;A.&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Sep 2009 08:38:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-oneAPI-Math-Kernel-Library/MKL-PARDISO-memory-leak-default-settings/m-p/880492#M9489</guid>
      <dc:creator>ArturGuzik</dc:creator>
      <dc:date>2009-09-02T08:38:02Z</dc:date>
    </item>
  </channel>
</rss>

