<?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: OutOfMemoryError just using MGRS grid in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/outofmemoryerror-just-using-mgrs-grid/m-p/619105#M1899</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After contacting ESRI support, it appears there is a technical issue in ArcGIS Runtime for Java, leading to a memory leak when changing the type of the grid using "setType()".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For people only interested in showing/hiding a given grid, they may define the type only once, then use the #setVisibility method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pierre.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 May 2016 14:13:24 GMT</pubDate>
    <dc:creator>jeromegaboriau</dc:creator>
    <dc:date>2016-05-09T14:13:24Z</dc:date>
    <item>
      <title>OutOfMemoryError just using MGRS grid</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/outofmemoryerror-just-using-mgrs-grid/m-p/619104#M1898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am encountering a problem using the MGRS military grid of the JMap.&lt;/P&gt;&lt;P&gt;Each time I change the visibility of this grid, the memory allowed to the JVM process increases until the JVM crash saying "OutOfMemoryError".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is attached a sample project, with a unit test setup to show/hide the MGRS grid every seconds and reproduces the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We can see at runtime (using default windows process manager) that memory allocated to the JVM process increase, until it crashes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bug has been discovered on Windows XP 32 bits, and has been reproduced on Windows Seven 32 bits using ArcGIS runtime 10.2.3 and Java8u45.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2016 15:43:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/outofmemoryerror-just-using-mgrs-grid/m-p/619104#M1898</guid>
      <dc:creator>jeromegaboriau</dc:creator>
      <dc:date>2016-04-04T15:43:27Z</dc:date>
    </item>
    <item>
      <title>Re: OutOfMemoryError just using MGRS grid</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/outofmemoryerror-just-using-mgrs-grid/m-p/619105#M1899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After contacting ESRI support, it appears there is a technical issue in ArcGIS Runtime for Java, leading to a memory leak when changing the type of the grid using "setType()".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For people only interested in showing/hiding a given grid, they may define the type only once, then use the #setVisibility method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pierre.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2016 14:13:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/outofmemoryerror-just-using-mgrs-grid/m-p/619105#M1899</guid>
      <dc:creator>jeromegaboriau</dc:creator>
      <dc:date>2016-05-09T14:13:24Z</dc:date>
    </item>
  </channel>
</rss>

