<?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: Java Maps SDK Memory Leak? in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1279746#M2699</link>
    <description>&lt;P&gt;Hi Alan,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to reproduce our issue exactly as seen in our production code when I added all remaining references to the ArcGIS SDK and added the parallelization we use similar to our system.&amp;nbsp; I have pushed my code to the github. Just add an api key, and then depending on the size of your system, it will take more or less runs to get it to crash. about 30 runs for me got my resident memory usage near 17 GB, so just keep running the program until you crash. I have added prompts to guide you through, as well as added JVM heap memory print statements detailing how much Heap memory is used at the end of each calculation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are the graphs produced from the minimally reproduced code (I see the same call to these two methods):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mem-leak-min-code-graph.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/68270i1B97FE2583CFF538/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mem-leak-min-code-graph.png" alt="mem-leak-min-code-graph.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a screenshot of the initial memory usage (I am using 'htop' in linux to check memory usage filtered on my program):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mem-leak-init.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/68272i8B25764B3C2B853E/image-size/large?v=v2&amp;amp;px=999" role="button" title="mem-leak-init.png" alt="mem-leak-init.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here's the final memory usage:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JaredFaulk_0-1681833083029.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/68273i25670695C34230B5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JaredFaulk_0-1681833083029.png" alt="JaredFaulk_0-1681833083029.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 18 Apr 2023 17:09:23 GMT</pubDate>
    <dc:creator>JaredFaulk</dc:creator>
    <dc:date>2023-04-18T17:09:23Z</dc:date>
    <item>
      <title>Java Maps SDK Memory Leak?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1278818#M2687</link>
      <description>&lt;DIV&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;The Problem&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;I am building a GIS module for a system using ArcGIS Java Map SDK v200.0.0. The general functionality flow is, I connect to a few Esri servers, pull down some features/data using their APIs, run a few calculations, and write to a file. Since building my module and running the calculations on a local test server I noticed our virtual memory usage kept climbing higher and higher with each subsequent calculation (until ultimately our application crashes). So clearly this sounds like some form of&amp;nbsp; memory leak.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;What I've Done&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;Firstly, I investigated the memory usage of the JVM, thinking perhaps some large objects are not being garbage collected. I mapped our memory usage in VisualVM as seen here:&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JaredFaulk_0-1681484882344.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/68040i3C817F36A5445C96/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JaredFaulk_0-1681484882344.png" alt="JaredFaulk_0-1681484882344.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;However, everything is performaing as expected. Memory usage spikes for each new calculation, and then all unreferenced objects are garbage collected at the end of the calculation. I also checked our metaspace usage, but that never exceeds 50MB (so metaspace is not the issue). I therefore am running into some form of native memory leak.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;Because the memory leak is outside of the JVM, the most typical culprits are some form of file stream not being closed. I do write to a file at the end of my calculation but I DO close it as seen here:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="java"&gt;. . .
//map here is an esri ArcGISMap object that holds some data and must be loaded fully
map.addDoneLoadingListener(() -&amp;gt; { 
			if (map.getLoadStatus() == LoadStatus.LOADED) { 
				String mapJson = map.toJson(); 
				FileWriter jsonFileWriter = null; 
				try {
                                        //file here is a valid File already created
					jsonFileWriter = new FileWriter(file); 
					jsonFileWriter.write(mapJson); 
					mapDoneWriting = true; 
				} catch (IOException e) { 
					e.printStackTrace(); 
				} finally { 
					try { 
						if (jsonFileWriter != null) { 
							jsonFileWriter.flush(); 
							jsonFileWriter.close(); 
						} 
					} catch (IOException e) { 
						e.printStackTrace(); 
					} 
				} 
			} else 
				throw new IllegalArgumentException("Error writing json map file"); 
});

. . .&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;To further chase this leak I discovered this blog [&lt;A href="https://technology.blog.gov.uk/2015/12/11/using-jemalloc-to-get-to-the-bottom-of-a-memory-leak/" target="_self"&gt;here&lt;/A&gt;] and [&lt;A href="https://www.evanjones.ca/java-native-leak-bug.html" target="_self"&gt;here&lt;/A&gt;] which seemed to have a very similar obscure memory leak. The blog posts in summary: other large java systems had a native memory leak that could not be found, and both blogs successfully debugged and patched the leak using a tool call jemalloc (spoiler, the culprit was some form of Inflator/Deflator Object used for compression/decompression not being closed) Jemalloc is essentially a memory allocator exactly like malloc, but with further debugging functionalities added. I replaced the JVM's default malloc to use jemalloc and then created memory usage reports in a tree structure using jeprof (a built in reporting tool with jemalloc). Now here is where my debugging is hitting a road block.&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;Here are the reports generated (zoomed into the most likely culprits):&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JaredFaulk_1-1681485225247.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/68042iD769F46AA8FF53E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JaredFaulk_1-1681485225247.png" alt="JaredFaulk_1-1681485225247.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;Zooming into some weird potential culprits:&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JaredFaulk_2-1681485270394.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/68043i20308B1459F30139/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JaredFaulk_2-1681485270394.png" alt="JaredFaulk_2-1681485270394.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;And further weirdness:&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JaredFaulk_0-1681485360219.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/68045i906B1207E7D9ED23/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JaredFaulk_0-1681485360219.png" alt="JaredFaulk_0-1681485360219.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;Here is where I need some help. I am interpretting these results based solely off of the other examples I have seen from similar results (i.e. each blog post I link shows an example, I could not find documentation detailing interpreting this graph).&lt;I&gt; From my understaning&lt;/I&gt;, the bottom percentage is the percentage of total memory used from my application from that method. Which then points to 90% of my memory used at RT_Vector_setElementRemovedCallback, and 70% of that is in lerc_decodeToDouble (?). I found the LERC project, which has a github repository: &lt;A href="https://github.com/Esri/lerc" target="_blank" rel="noopener"&gt;Lerc Repository&lt;/A&gt; Then I also found the 'decodeToDouble' function which is here: &lt;A href="https://github.com/Esri/lerc/commit/69afe1614571abd5ecc46ebfa0d6972b8a51e191" target="_blank" rel="noopener"&gt;decodeToDouble&lt;/A&gt;.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;MY QUESTION IS:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/DIV&gt;&lt;DIV&gt;Does this appear to be a Esri memory leak in the SDK I am using? Or am I interpreting these results wrong? If this is a memory leak, this is potentially a serious bug in the Java Maps SDK. Thank you for your feedback.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 14 Apr 2023 15:20:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1278818#M2687</guid>
      <dc:creator>JaredFaulk</dc:creator>
      <dc:date>2023-04-14T15:20:05Z</dc:date>
    </item>
    <item>
      <title>Re: Java Maps SDK Memory Leak?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1278839#M2688</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you able to provide some reproducer code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 15:56:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1278839#M2688</guid>
      <dc:creator>ColinAnderson1</dc:creator>
      <dc:date>2023-04-14T15:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Java Maps SDK Memory Leak?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1278857#M2689</link>
      <description>&lt;P&gt;Yes I will send once done. I am working on creating the minimal reproducible code right now.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 16:34:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1278857#M2689</guid>
      <dc:creator>JaredFaulk</dc:creator>
      <dc:date>2023-04-14T16:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: Java Maps SDK Memory Leak?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1278938#M2690</link>
      <description>&lt;P&gt;I have created a maven project on github that you should be able to fork. I have tested this simple code on our server and see that each consecutive run the memory shoots up, which further makes me believe there is a memory leak on the Esri SDK side (or I didn't close something that is supposed to be closed, but I do not see any explicit documentation about closing any of the methods I am using). Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the link:&amp;nbsp;&lt;A title="Memory Leak Test Github" href="https://github.com/jmfaulkFPI/MemoryLeakTest" target="_self"&gt;https://github.com/jmfaulkFPI/MemoryLeakTest&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let me know if there are any issues.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Apr 2023 20:45:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1278938#M2690</guid>
      <dc:creator>JaredFaulk</dc:creator>
      <dc:date>2023-04-14T20:45:01Z</dc:date>
    </item>
    <item>
      <title>Re: Java Maps SDK Memory Leak?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1279199#M2693</link>
      <description>&lt;P&gt;Hi Jared, I've tried the reproducer, but I find it fails to build because I don't have the &lt;STRONG&gt;apjibe&lt;/STRONG&gt; dependency. Could you remove that dependency, or just tell me what value to use for &lt;STRONG&gt;ApiFieldTags.GEOID&lt;/STRONG&gt;?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 12:24:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1279199#M2693</guid>
      <dc:creator>AlanLucas</dc:creator>
      <dc:date>2023-04-17T12:24:01Z</dc:date>
    </item>
    <item>
      <title>Re: Java Maps SDK Memory Leak?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1279237#M2694</link>
      <description>&lt;P&gt;Sorry about that, I have removed the dependency and pushed. I will be online all day if you need help.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 13:41:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1279237#M2694</guid>
      <dc:creator>JaredFaulk</dc:creator>
      <dc:date>2023-04-17T13:41:58Z</dc:date>
    </item>
    <item>
      <title>Re: Java Maps SDK Memory Leak?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1279277#M2695</link>
      <description>&lt;P&gt;Thanks. I'm can run the reproducer now. What do you suggest I do with/to it to get it to crash?&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 15:45:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1279277#M2695</guid>
      <dc:creator>AlanLucas</dc:creator>
      <dc:date>2023-04-17T15:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Java Maps SDK Memory Leak?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1279343#M2696</link>
      <description>&lt;P&gt;Hey Alan,&lt;/P&gt;&lt;P&gt;So it looks like with my minimal code I cannot get it to crash, but I simplified our system quite heavily so I am going back through to add ALL references and operations we use with ArcGIS to be sure. If I cannot get it to crash once I add all references in, then it is clearly on our side. I will let you know my findings.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 17:36:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1279343#M2696</guid>
      <dc:creator>JaredFaulk</dc:creator>
      <dc:date>2023-04-17T17:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: Java Maps SDK Memory Leak?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1279746#M2699</link>
      <description>&lt;P&gt;Hi Alan,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was able to reproduce our issue exactly as seen in our production code when I added all remaining references to the ArcGIS SDK and added the parallelization we use similar to our system.&amp;nbsp; I have pushed my code to the github. Just add an api key, and then depending on the size of your system, it will take more or less runs to get it to crash. about 30 runs for me got my resident memory usage near 17 GB, so just keep running the program until you crash. I have added prompts to guide you through, as well as added JVM heap memory print statements detailing how much Heap memory is used at the end of each calculation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are the graphs produced from the minimally reproduced code (I see the same call to these two methods):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mem-leak-min-code-graph.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/68270i1B97FE2583CFF538/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mem-leak-min-code-graph.png" alt="mem-leak-min-code-graph.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a screenshot of the initial memory usage (I am using 'htop' in linux to check memory usage filtered on my program):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mem-leak-init.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/68272i8B25764B3C2B853E/image-size/large?v=v2&amp;amp;px=999" role="button" title="mem-leak-init.png" alt="mem-leak-init.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here's the final memory usage:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JaredFaulk_0-1681833083029.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/68273i25670695C34230B5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JaredFaulk_0-1681833083029.png" alt="JaredFaulk_0-1681833083029.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 17:09:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1279746#M2699</guid>
      <dc:creator>JaredFaulk</dc:creator>
      <dc:date>2023-04-18T17:09:23Z</dc:date>
    </item>
    <item>
      <title>Re: Java Maps SDK Memory Leak?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1279846#M2700</link>
      <description>&lt;P&gt;Check README for more exact instructions of running the program,&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 18:54:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1279846#M2700</guid>
      <dc:creator>JaredFaulk</dc:creator>
      <dc:date>2023-04-18T18:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Java Maps SDK Memory Leak?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1280646#M2701</link>
      <description>&lt;P&gt;Just to update you, we are debugging this currently so will report back on what we find.&lt;/P&gt;&lt;P&gt;I would however be interested to find out a little more about the application you are wiring.&amp;nbsp; Is this a UI based application (with a JavaFX user interface), or is it a back end server app?&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 08:53:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1280646#M2701</guid>
      <dc:creator>MarkBaird</dc:creator>
      <dc:date>2023-04-20T08:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Java Maps SDK Memory Leak?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1280758#M2702</link>
      <description>&lt;P&gt;Awesome, thank you Mark. So this portion of code is located in our backend, solely used for calculation purposes. No UI interactions or MapViews in this portion of our system.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Apr 2023 14:16:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1280758#M2702</guid>
      <dc:creator>JaredFaulk</dc:creator>
      <dc:date>2023-04-20T14:16:50Z</dc:date>
    </item>
    <item>
      <title>Re: Java Maps SDK Memory Leak?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1281950#M2703</link>
      <description>&lt;P&gt;Just wanted to update you that we've managed to reproduce the issue.&amp;nbsp; It's an unusual issue in that things work fine for several hours on Windows and Mac, but we only see the growing memory use on Linux.&lt;/P&gt;&lt;P&gt;Not tracked it down yet, but Linux based investigations are ongoing.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Apr 2023 17:30:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1281950#M2703</guid>
      <dc:creator>MarkBaird</dc:creator>
      <dc:date>2023-04-24T17:30:58Z</dc:date>
    </item>
    <item>
      <title>Re: Java Maps SDK Memory Leak?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1282271#M2704</link>
      <description>&lt;P&gt;Great, glad you guys were able to reproduce the issue. I probably should have mentioned that I am using Linux for our test environment. Best of luck debugging!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Apr 2023 13:21:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1282271#M2704</guid>
      <dc:creator>JaredFaulk</dc:creator>
      <dc:date>2023-04-25T13:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Java Maps SDK Memory Leak?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1284307#M2705</link>
      <description>&lt;P&gt;Good morning, I just wanted to follow up on the status of this issue. Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2023 14:25:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1284307#M2705</guid>
      <dc:creator>JaredFaulk</dc:creator>
      <dc:date>2023-05-01T14:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Java Maps SDK Memory Leak?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1286171#M2706</link>
      <description>&lt;P&gt;We are still investigating it.&amp;nbsp; I will report back once we've got a better handle on it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 15:22:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1286171#M2706</guid>
      <dc:creator>MarkBaird</dc:creator>
      <dc:date>2023-05-05T15:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Java Maps SDK Memory Leak?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1286249#M2707</link>
      <description>&lt;P&gt;Sounds good. Thank you for the response.&lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2023 17:21:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1286249#M2707</guid>
      <dc:creator>JaredFaulk</dc:creator>
      <dc:date>2023-05-05T17:21:18Z</dc:date>
    </item>
    <item>
      <title>Re: Java Maps SDK Memory Leak?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1289691#M2717</link>
      <description>&lt;P&gt;Howdy Mark, I believe I have tracked down the issue. I believe what is causing the memory leak is the GeometryEngine.union() method. I have some reproducer code I have sent support, and I have also pushed the new reproducer code to a branch called 'union' in the github.&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 14:23:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1289691#M2717</guid>
      <dc:creator>JaredFaulk</dc:creator>
      <dc:date>2023-05-17T14:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Java Maps SDK Memory Leak?</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1290757#M2718</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/649707"&gt;@JaredFaulk&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes I'm talking to TJ from support and have your latest reproducer which looks like it will help us to narrow down the issue.&amp;nbsp; Thanks for putting this together.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2023 18:08:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/java-maps-sdk-memory-leak/m-p/1290757#M2718</guid>
      <dc:creator>MarkBaird</dc:creator>
      <dc:date>2023-05-18T18:08:45Z</dc:date>
    </item>
  </channel>
</rss>

