<?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 Re: memLeak at ArcGISTiledLayer and Basemap in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/memleak-at-arcgistiledlayer-and-basemap/m-p/258007#M1330</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Norbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll take a look.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Aug 2019 12:03:35 GMT</pubDate>
    <dc:creator>LukeSmallwood</dc:creator>
    <dc:date>2019-08-28T12:03:35Z</dc:date>
    <item>
      <title>memLeak at ArcGISTiledLayer and Basemap</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/memleak-at-arcgistiledlayer-and-basemap/m-p/258004#M1327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does ESRI know that there is a memory Leak using&lt;/P&gt;&lt;P&gt;ESRI::ArcGISTiledLayer, ESRI::Basemap (V100.5 and V100.6))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating and destroing a simple map WITHOUT terminating the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Valgrind (@V100.5)&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;class ESRI::ArcGISTiledLayer&lt;BR /&gt;==24614== 15,592 (1,744 direct, 13,848 indirect) bytes in 1 blocks are definitely lost in loss record 835 of 855&lt;BR /&gt;==24614== at 0x4C2E2AF: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)&lt;BR /&gt;==24614== by 0x40F5E69: operator new(unsigned long) (in /usr/lib64/libc++.so.1.0)&lt;BR /&gt;==24614== by 0xA877D11: ??? (in /usr/lib64/libruntimecore.so)&lt;BR /&gt;==24614== by 0xA1FF237: RT_ImageTiledLayer_create (in /usr/lib64/libruntimecore.so)&lt;BR /&gt;==24614== by 0x5206BE1: ESRI::RuntimeCore::QRTImageTiledLayer::QRTImageTiledLayer() (in /usr/lib64/libEsriCommonQt.so)&lt;BR /&gt;==24614== by 0x525969C: ESRI::RuntimeCore::QRTArcGISTiledLayer::QRTArcGISTiledLayer(ESRI::RuntimeCore::QRTTileCache*) (in /usr/lib64/libEsriCommonQt.so)&lt;BR /&gt;==24614== by 0x55BCC65: QRTImpl::ArcGISTiledLayerImpl::ArcGISTiledLayerImpl(std::shared_ptr&amp;lt;QRTImpl::TileCacheImpl&amp;gt; const&amp;amp;) (in /usr/lib64/libEsriCommonQt.so)&lt;BR /&gt;==24614== by 0x49A566: Esri::ArcGISRuntime::ArcGISTiledLayer::ArcGISTiledLayer(Esri::ArcGISRuntime::TileCache*, QObject*) (in /shd/CTC/TOOLS/LTS-Esri-SupportDir/LTS-Esri/Prepared/LayerMemoryLeak/LayerMemoryLeak)&lt;BR /&gt;==24614== by 0x498C34: MapWindow::MapWindow() (in /shd/CTC/TOOLS/LTS-Esri-SupportDir/LTS-Esri/Prepared/LayerMemoryLeak/LayerMemoryLeak)&lt;BR /&gt;==24614== by 0x4971CA: main (in /shd/CTC/TOOLS/LTS-Esri-SupportDir/LTS-Esri/Prepared/LayerMemoryLeak/LayerMemoryLeak)&lt;/P&gt;&lt;P&gt;class ESRI::Basemap&lt;BR /&gt;(just the main leaks of ESRI::Basemap)&lt;BR /&gt;==24614== 4,288 bytes in 8 blocks are still reachable in loss record 806 of 855&lt;BR /&gt;==24614== at 0x4C2E2AF: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)&lt;BR /&gt;==24614== by 0x40F5E69: operator new(unsigned long) (in /usr/lib64/libc++.so.1.0)&lt;BR /&gt;==24614== by 0xC43FB01: ??? (in /usr/lib64/libruntimecore.so)&lt;BR /&gt;==24614== by 0xC43A737: ??? (in /usr/lib64/libruntimecore.so)&lt;BR /&gt;==24614== by 0xC43A2A2: ??? (in /usr/lib64/libruntimecore.so)&lt;BR /&gt;==24614== by 0xC44343C: ??? (in /usr/lib64/libruntimecore.so)&lt;BR /&gt;==24614== by 0xC442110: ??? (in /usr/lib64/libruntimecore.so)&lt;BR /&gt;==24614== by 0xA07D9D4: RT_ArcGISRuntimeEnvironment_setInstallDirectory (in /usr/lib64/libruntimecore.so)&lt;BR /&gt;==24614== by 0x5255D74: ESRI::RuntimeCore::QRTArcGISRuntimeEnvironment::setInstallDirectory(QString const&amp;amp;, ESRI::RuntimeCore::QRTObject*) (in /usr/lib64/libEsriCommonQt.so)&lt;BR /&gt;==24614== by 0x56C1574: QRTImpl::ArcGISRuntimeEnvironmentImpl::initialize() (in /usr/lib64/libEsriCommonQt.so)&lt;BR /&gt;==24614== by 0x4A21CD: Esri::ArcGISRuntime::Basemap::Basemap(QObject*) (in /shd/CTC/TOOLS/LTS-Esri-SupportDir/LTS-Esri/Prepared/LayerMemoryLeak/LayerMemoryLeak)&lt;BR /&gt;==24614== by 0x4985B4: MapWindow::MapWindow() (in /shd/CTC/TOOLS/LTS-Esri-SupportDir/LTS-Esri/Prepared/LayerMemoryLeak/LayerMemoryLeak)&lt;BR /&gt;==24614==&lt;BR /&gt;==24614== 4,288 bytes in 8 blocks are still reachable in loss record 807 of 855&lt;BR /&gt;==24614== at 0x4C2E2AF: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)&lt;BR /&gt;==24614== by 0x40F5E69: operator new(unsigned long) (in /usr/lib64/libc++.so.1.0)&lt;BR /&gt;==24614== by 0xC43FB01: ??? (in /usr/lib64/libruntimecore.so)&lt;BR /&gt;==24614== by 0xC43A737: ??? (in /usr/lib64/libruntimecore.so)&lt;BR /&gt;==24614== by 0xC43A2DF: ??? (in /usr/lib64/libruntimecore.so)&lt;BR /&gt;==24614== by 0xC44343C: ??? (in /usr/lib64/libruntimecore.so)&lt;BR /&gt;==24614== by 0xC442110: ??? (in /usr/lib64/libruntimecore.so)&lt;BR /&gt;==24614== by 0xA07D9D4: RT_ArcGISRuntimeEnvironment_setInstallDirectory (in /usr/lib64/libruntimecore.so)&lt;BR /&gt;==24614== by 0x5255D74: ESRI::RuntimeCore::QRTArcGISRuntimeEnvironment::setInstallDirectory(QString const&amp;amp;, ESRI::RuntimeCore::QRTObject*) (in /usr/lib64/libEsriCommonQt.so)&lt;BR /&gt;==24614== by 0x56C1574: QRTImpl::ArcGISRuntimeEnvironmentImpl::initialize() (in /usr/lib64/libEsriCommonQt.so)&lt;BR /&gt;==24614== by 0x4A21CD: Esri::ArcGISRuntime::Basemap::Basemap(QObject*) (in /shd/CTC/TOOLS/LTS-Esri-SupportDir/LTS-Esri/Prepared/LayerMemoryLeak/LayerMemoryLeak)&lt;BR /&gt;==24614== by 0x4985B4: MapWindow::MapWindow() (in /shd/CTC/TOOLS/LTS-Esri-SupportDir/LTS-Esri/Prepared/LayerMemoryLeak/LayerMemoryLeak)&lt;BR /&gt;and some more&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am already in contact with the support team, but no real progress ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2019 07:53:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/memleak-at-arcgistiledlayer-and-basemap/m-p/258004#M1327</guid>
      <dc:creator>NorbertThoden</dc:creator>
      <dc:date>2019-08-28T07:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: memLeak at ArcGISTiledLayer and Basemap</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/memleak-at-arcgistiledlayer-and-basemap/m-p/258005#M1328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Norbert - thanks for reporting this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which constructor are you using for the ArcGISTiledLayer? From the stack it looks like you are supplying a TileCache directly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you possibly post a code snippet (including any parent QObjects etc.) showing how you are creating these objects?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2019 11:35:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/memleak-at-arcgistiledlayer-and-basemap/m-p/258005#M1328</guid>
      <dc:creator>LukeSmallwood</dc:creator>
      <dc:date>2019-08-28T11:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: memLeak at ArcGISTiledLayer and Basemap</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/memleak-at-arcgistiledlayer-and-basemap/m-p/258006#M1329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luke!&lt;/P&gt;&lt;P&gt;Nice to hear from you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course. I will attach the sample i sent to the Support Team, okay?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The zip file contains sample code, description etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additional:&lt;/P&gt;&lt;P&gt;An VisualStudioAnalyzer output (created by my colleague)&lt;/P&gt;&lt;DIV&gt;&lt;A href="https://10.199.101.210/owa/redir.aspx?C=P7HFxWIR76J4Oem4wUqC1TigNb6S3lF9dblnrAc4MkesiO4CrSvXCA..&amp;amp;URL=https%3a%2f%2fcryptshare.rheinmetall.com%2fdownload1.php%3f2%26id%3dCnwFDNO7Yg" rel="noopener noreferrer" target="_blank"&gt;https://cryptshare.rheinmetall.com/download1.php?2&amp;amp;id=CnwFDNO7Yg&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;TransferId: CnwFDNO7Yg&lt;/DIV&gt;&lt;DIV&gt;Pwd: ESRI1234&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: In the meantime i was able to verifiy this using V100.6.&lt;/P&gt;&lt;P&gt;The memleak is still there for&amp;nbsp; the ArcGISTiledLayer and Basemap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that you can verify this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance and greetings from Bremen&lt;/P&gt;&lt;P&gt;Norbert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2019 12:00:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/memleak-at-arcgistiledlayer-and-basemap/m-p/258006#M1329</guid>
      <dc:creator>NorbertThoden</dc:creator>
      <dc:date>2019-08-28T12:00:14Z</dc:date>
    </item>
    <item>
      <title>Re: memLeak at ArcGISTiledLayer and Basemap</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/memleak-at-arcgistiledlayer-and-basemap/m-p/258007#M1330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Norbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll take a look.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2019 12:03:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/memleak-at-arcgistiledlayer-and-basemap/m-p/258007#M1330</guid>
      <dc:creator>LukeSmallwood</dc:creator>
      <dc:date>2019-08-28T12:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: memLeak at ArcGISTiledLayer and Basemap</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/memleak-at-arcgistiledlayer-and-basemap/m-p/258008#M1331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Norbert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having trouble with that download link that you supplied but I believe I can reproduce the same thing with my own code.&amp;nbsp;We will try and look into that and also any information that comes through via the support issue you logged.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a snippet of the repro code I'm using - let me know if that looks substantially different to what you are doing:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #808000;"&gt;void&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;TestMemoryLeakQuick&lt;/SPAN&gt;::&lt;SPAN style="color: #00677c; font-weight: 600;"&gt;recreateMap&lt;/SPAN&gt;()&lt;/PRE&gt;&lt;PRE&gt;{&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;  &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;emit&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #00677c;"&gt;usedMemoryBytesChanged&lt;/SPAN&gt;();&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;  &lt;/SPAN&gt;&lt;SPAN style="color: #000080;"&gt;qDebug&lt;/SPAN&gt;()&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&amp;lt;&amp;lt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #00677c;"&gt;usedMemoryBytes&lt;/SPAN&gt;();&lt;/PRE&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;  &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;m_parent&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;  &lt;/SPAN&gt;{&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;delete&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;m_parent&lt;/SPAN&gt;;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;m_parent&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;nullptr&lt;/SPAN&gt;;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;m_mapView&lt;/SPAN&gt;-&amp;gt;&lt;SPAN style="color: #00677c;"&gt;setMap&lt;/SPAN&gt;(&lt;SPAN style="color: #808000;"&gt;nullptr&lt;/SPAN&gt;);&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;m_map&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;nullptr&lt;/SPAN&gt;;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;  &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;  &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;m_parent&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;QObject&lt;/SPAN&gt;(&lt;SPAN style="color: #808000;"&gt;this&lt;/SPAN&gt;);&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;  &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;const&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;QString&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #092e64;"&gt;tpkPath&lt;/SPAN&gt;{&lt;SPAN style="color: #008000;"&gt;".../tpk/SanFrancisco.tpk"&lt;/SPAN&gt;};&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;  &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;auto&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #092e64;"&gt;tileCache&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;TileCache&lt;/SPAN&gt;(&lt;SPAN style="color: #092e64;"&gt;tpkPath&lt;/SPAN&gt;,&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;m_parent&lt;/SPAN&gt;);&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;  &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;auto&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #092e64;"&gt;tiledLayer&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;ArcGISTiledLayer&lt;/SPAN&gt;(&lt;SPAN style="color: #092e64;"&gt;tileCache&lt;/SPAN&gt;,&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;m_parent&lt;/SPAN&gt;);&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;  &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;auto&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #092e64;"&gt;basemap&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;Basemap&lt;/SPAN&gt;(&lt;SPAN style="color: #092e64;"&gt;tiledLayer&lt;/SPAN&gt;,&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;m_parent&lt;/SPAN&gt;);&lt;/PRE&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;  &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;m_map&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800080;"&gt;Map&lt;/SPAN&gt;(&lt;SPAN style="color: #092e64;"&gt;basemap&lt;/SPAN&gt;,&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;m_parent&lt;/SPAN&gt;);&lt;/PRE&gt;&lt;PRE&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;  &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;m_mapView&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;  &lt;/SPAN&gt;{&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;m_mapView&lt;/SPAN&gt;-&amp;gt;&lt;SPAN style="color: #00677c;"&gt;setMap&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;m_map&lt;/SPAN&gt;);&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;  &lt;/SPAN&gt;}&lt;/PRE&gt;&lt;PRE&gt;}&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Aug 2019 15:11:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/memleak-at-arcgistiledlayer-and-basemap/m-p/258008#M1331</guid>
      <dc:creator>LukeSmallwood</dc:creator>
      <dc:date>2019-08-28T15:11:00Z</dc:date>
    </item>
    <item>
      <title>Re: memLeak at ArcGISTiledLayer and Basemap</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/memleak-at-arcgistiledlayer-and-basemap/m-p/258009#M1332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luke!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The sample code ist attached to this thread, see top of the page.&lt;/P&gt;&lt;P&gt;The link (&lt;A href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2F10.199.101.210%2Fowa%2Fredir.aspx%3FC%3DP7HFxWIR76J4Oem4wUqC1TigNb6S3lF9dblnrAc4MkesiO4CrSvXCA..%26URL%3Dhttps%253a%252f%252fcryptshare.rheinmetall.com%252fdownload1.php%253f2%2526id%253dCnwFDNO7Yg" rel="nofollow" target="_blank"&gt;https://cryptshare.rheinmetall.com/download1.php?2&amp;amp;id=CnwFDNO7Yg&lt;/A&gt;) contains just the VisualStudioAnalyzer output, since it has a size of ~330Mb. Don´t know if it´s helpful...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem regarding the support&amp;nbsp; that nor my german neither the US&amp;nbsp;support enineer seems to have no experience with any memcheck tool...&lt;/P&gt;&lt;P&gt;But i am trying to find a way to convince them &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jepp, the code snippet seems to fine.&lt;/P&gt;&lt;P&gt;Which tool do you use and can you see memleaks?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Norbert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 06:42:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/memleak-at-arcgistiledlayer-and-basemap/m-p/258009#M1332</guid>
      <dc:creator>NorbertThoden</dc:creator>
      <dc:date>2019-08-29T06:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: memLeak at ArcGISTiledLayer and Basemap</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/memleak-at-arcgistiledlayer-and-basemap/m-p/258010#M1333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Norbert,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;The sample code is attached to this thread, see top of the page.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Got it thanks! I'll give the code sample a try and see if I can repro the links. In my testing yesterday I was just&amp;nbsp;doing a quick check of the process memory info but we can use ValGrind to look at what is going on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did notice this line in your sample code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #c0c0c0;"&gt;      &lt;/SPAN&gt;&lt;SPAN style="color: #800000;"&gt;m_tiledLayer&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;Esri::ArcGISRuntime::ArcGISTiledLayer(&lt;SPAN style="color: #092e64;"&gt;tpkCache&lt;/SPAN&gt;);&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That tiled layer is missing a parent object and so won't get cleared up when you&amp;nbsp;call&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN style="color: #808000;"&gt;delete&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt;this&lt;/SPAN&gt;;&lt;/PRE&gt;&lt;P&gt;That would certainly leak - but I'm not sure if there is something else going on as well. Could you try with a parent added for that allocation and see if your results are affected?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 09:20:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/memleak-at-arcgistiledlayer-and-basemap/m-p/258010#M1333</guid>
      <dc:creator>LukeSmallwood</dc:creator>
      <dc:date>2019-08-29T09:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: memLeak at ArcGISTiledLayer and Basemap</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/memleak-at-arcgistiledlayer-and-basemap/m-p/258011#M1334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luke!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You´re right, that is wrong in my sample (but correct at our original code)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The memleak is still alive:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;based on V100.6 i got:&lt;/P&gt;&lt;P&gt;==23411== &lt;STRONG&gt;6,952 (1,456 direct, 5,496 indirect) bytes in 1 blocks are definitely lost&lt;/STRONG&gt; in loss record 465 of 490&lt;BR /&gt;==23411== at 0x4C2E2AF: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)&lt;BR /&gt;==23411== by 0x40F5E69: operator new(unsigned long) (in /usr/lib64/libc++.so.1.0)&lt;BR /&gt;==23411== by 0xA77BC61: ??? (in /usr/lib64/libruntimecore.so)&lt;BR /&gt;==23411== by 0xA0E6ED7: RT_ImageTiledLayer_create (in /usr/lib64/libruntimecore.so)&lt;BR /&gt;==23411== by 0x52470F1: ESRI::RuntimeCore::QRTImageTiledLayer::QRTImageTiledLayer() (in /usr/lib64/libEsriCommonQt.so)&lt;BR /&gt;==23411== by 0x52C4308: ESRI::RuntimeCore::QRTArcGISTiledLayer::QRTArcGISTiledLayer(ESRI::RuntimeCore::QRTTileCache*) (in /usr/lib64/libEsriCommonQt.so)&lt;BR /&gt;==23411== by 0x55D5E0B: QRTImpl::ArcGISTiledLayerImpl::ArcGISTiledLayerImpl(std::shared_ptr&amp;lt;QRTImpl::TileCacheImpl&amp;gt; const&amp;amp;) (in /usr/lib64/libEsriCommonQt.so)&lt;BR /&gt;==23411== by 0x49E946: Esri::ArcGISRuntime::ArcGISTiledLayer::ArcGISTiledLayer(Esri::ArcGISRuntime::TileCache*, QObject*) (in /shd/CTC/TOOLS/LTS-Esri-SupportDir/LTS-Esri/Reported/2019-08-21_LayerMemoryLeak_case#02386995/LayerMemoryLeak)&lt;BR /&gt;==23411== by 0x49D175: MapWindow::MapWindow() (in /shd/CTC/TOOLS/LTS-Esri-SupportDir/LTS-Esri/Reported/2019-08-21_LayerMemoryLeak_case#02386995/LayerMemoryLeak)&lt;BR /&gt;==23411== by 0x49B0F1: main (in /shd/CTC/TOOLS/LTS-Esri-SupportDir/LTS-Esri/Reported/2019-08-21_LayerMemoryLeak_case#02386995/LayerMemoryLeak)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Valgind has some more notes regarding ArcGISTiledLayer, but this is the biggest thing...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 11:32:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/memleak-at-arcgistiledlayer-and-basemap/m-p/258011#M1334</guid>
      <dc:creator>NorbertThoden</dc:creator>
      <dc:date>2019-08-29T11:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: memLeak at ArcGISTiledLayer and Basemap</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/memleak-at-arcgistiledlayer-and-basemap/m-p/258012#M1335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the update Norbert&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2019 12:57:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/memleak-at-arcgistiledlayer-and-basemap/m-p/258012#M1335</guid>
      <dc:creator>LukeSmallwood</dc:creator>
      <dc:date>2019-08-29T12:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: memLeak at ArcGISTiledLayer and Basemap</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/memleak-at-arcgistiledlayer-and-basemap/m-p/258013#M1336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Could you verify the memleak using V100.5, V100.6 or V100.7?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2019 12:10:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/memleak-at-arcgistiledlayer-and-basemap/m-p/258013#M1336</guid>
      <dc:creator>NorbertThoden</dc:creator>
      <dc:date>2019-09-03T12:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: memLeak at ArcGISTiledLayer and Basemap</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/memleak-at-arcgistiledlayer-and-basemap/m-p/258014#M1337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Norbert-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luke was able to reproduce the issue you are seeing. We are still investigating the cause and will need to do an analysis on the affected versions.&amp;nbsp;We've logged a work item internally to do this work, but please continue to work with support to get a bug logged through that system, so that we can properly link up the work items to your account. Updates to the status of the bug will then be made through the bug attached to your account.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Lucas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Sep 2019 14:13:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/memleak-at-arcgistiledlayer-and-basemap/m-p/258014#M1337</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2019-09-03T14:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: memLeak at ArcGISTiledLayer and Basemap</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/memleak-at-arcgistiledlayer-and-basemap/m-p/258015#M1338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, the ESRI Inc Support was finally able to create log a bug:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: white; text-transform: none; font-variant: normal; color: #080707; font-size: 12.93px; font-family: Salesforce Sans, Arial, sans-serif; "&gt;&lt;STRONG&gt;[BUG-000125025 : Creating and destroying a map created with ESRI::ArcGISTIledLayer and ESRI::Basemap shows memory leak]&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i am wondering abot the Support:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;sometimes the operating system is not available and causes a delay of days/weeks,&lt;BR /&gt;I assume that, they don´t tell, which OS they use... &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/LI&gt;&lt;LI&gt;the attached files do not reach the ESRI Inc engineer&lt;/LI&gt;&lt;LI&gt;the message does not reach the ESRI Inc engineer&lt;/LI&gt;&lt;LI&gt;The please me to sent a video to verify the intensity of an effects, but do not delievery a video what they see....&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And this time they are not able to verify a memory leak due to missing skills&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This forum is very often the last chance to get an issue solved!!&lt;/P&gt;&lt;P&gt;So, many thanks to Luke and Lucas to support me in getting a BUG-ID!!! &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings from Bremen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2019 10:34:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/memleak-at-arcgistiledlayer-and-basemap/m-p/258015#M1338</guid>
      <dc:creator>NorbertThoden</dc:creator>
      <dc:date>2019-09-06T10:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: memLeak at ArcGISTiledLayer and Basemap</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/memleak-at-arcgistiledlayer-and-basemap/m-p/258016#M1339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the feedback Norbert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Sep 2019 19:23:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/memleak-at-arcgistiledlayer-and-basemap/m-p/258016#M1339</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2019-09-06T19:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: memLeak at ArcGISTiledLayer and Basemap</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/memleak-at-arcgistiledlayer-and-basemap/m-p/258017#M1340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Ich got the info that the bug should be fixed with V100.7 &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;(Case &lt;SPAN class=""&gt;&lt;A href="https://my.esri.com/#/support/cases/02386995"&gt;02386995)&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Oct 2019 08:13:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/memleak-at-arcgistiledlayer-and-basemap/m-p/258017#M1340</guid>
      <dc:creator>NorbertThoden</dc:creator>
      <dc:date>2019-10-14T08:13:31Z</dc:date>
    </item>
  </channel>
</rss>

