<?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: Silverlight 4 Memory Issues in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-4-memory-issues/m-p/733450#M18774</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hey Gang,&lt;BR /&gt;&lt;BR /&gt;Has anyone here, or on the Silverlight development team noticed any memory leak issues similar to those described (and confirmed by Tim Heuer) here: &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.silverlight.net/forums/t/171739.aspx"&gt;Memory Leak Issues with inline DataTemplates in XAML&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Our application uses many, many ControlTemplates, Style resources, some in-line, some not, a few Telerik Controls (which makes heavy use of in-line DataTemplates), and several ESRI Silveright controls. We've noticed that our application steady chews up memory and never returns it to the heap at all during its time of execution. &lt;BR /&gt;&lt;BR /&gt;I'm not blaming anything on ESRI here, mind you, but we've observed and prototyped one of the many scenarios described by users in the link above. How about you guys? Have you seen any serious memory problems yet with Silverlight 4 related / pertaining to DataTemplates / ControlTemplates etc ... ?&lt;BR /&gt;&lt;BR /&gt;If so what's your position on the problem? We're waiting / hoping for a fix from MS soon.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance, for the time and help,&lt;BR /&gt;- Aaron&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone? Anyone? Beuller?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Aug 2010 19:36:41 GMT</pubDate>
    <dc:creator>AaronConnolly</dc:creator>
    <dc:date>2010-08-19T19:36:41Z</dc:date>
    <item>
      <title>Silverlight 4 Memory Issues</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-4-memory-issues/m-p/733449#M18773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hey Gang,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone here, or on the Silverlight development team noticed any memory leak issues similar to those described (and confirmed by Tim Heuer) here: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.silverlight.net/forums/t/171739.aspx"&gt;Memory Leak Issues with inline DataTemplates in XAML&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Our application uses many, many ControlTemplates, Style resources, some in-line, some not, a few Telerik Controls (which makes heavy use of in-line DataTemplates), and several ESRI Silveright controls. We've noticed that our application steady chews up memory and never returns it to the heap at all during its time of execution. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm not blaming anything on ESRI here, mind you, but we've observed and prototyped one of the many scenarios described by users in the link above. How about you guys? Have you seen any serious memory problems yet with Silverlight 4 related / pertaining to DataTemplates / ControlTemplates etc ... ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If so what's your position on the problem? We're waiting / hoping for a fix from MS soon.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance, for the time and help,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Aaron&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Aug 2010 18:12:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-4-memory-issues/m-p/733449#M18773</guid>
      <dc:creator>AaronConnolly</dc:creator>
      <dc:date>2010-08-11T18:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: Silverlight 4 Memory Issues</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-4-memory-issues/m-p/733450#M18774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hey Gang,&lt;BR /&gt;&lt;BR /&gt;Has anyone here, or on the Silverlight development team noticed any memory leak issues similar to those described (and confirmed by Tim Heuer) here: &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.silverlight.net/forums/t/171739.aspx"&gt;Memory Leak Issues with inline DataTemplates in XAML&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Our application uses many, many ControlTemplates, Style resources, some in-line, some not, a few Telerik Controls (which makes heavy use of in-line DataTemplates), and several ESRI Silveright controls. We've noticed that our application steady chews up memory and never returns it to the heap at all during its time of execution. &lt;BR /&gt;&lt;BR /&gt;I'm not blaming anything on ESRI here, mind you, but we've observed and prototyped one of the many scenarios described by users in the link above. How about you guys? Have you seen any serious memory problems yet with Silverlight 4 related / pertaining to DataTemplates / ControlTemplates etc ... ?&lt;BR /&gt;&lt;BR /&gt;If so what's your position on the problem? We're waiting / hoping for a fix from MS soon.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance, for the time and help,&lt;BR /&gt;- Aaron&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone? Anyone? Beuller?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Aug 2010 19:36:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-4-memory-issues/m-p/733450#M18774</guid>
      <dc:creator>AaronConnolly</dc:creator>
      <dc:date>2010-08-19T19:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Silverlight 4 Memory Issues</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-4-memory-issues/m-p/733451#M18775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We are aware of the issue with Silverlight, but no we have not seen any significant memory issues regarding this bug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you saying you are seeing issues with the API, if you strip out all the other stuff from your application?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Aug 2010 14:35:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-4-memory-issues/m-p/733451#M18775</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2010-08-20T14:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Silverlight 4 Memory Issues</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-4-memory-issues/m-p/733452#M18776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Morten,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the reply. We haven't seen any problems with the ESRI Silverlight API. I just wanted to know if you guys had observed this problem in the wild.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately we're experiencing severe memory issues with our application so I'm just trying to investigate all areas of the application that could possibly be causing problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- Aaron&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Aug 2010 20:51:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-4-memory-issues/m-p/733452#M18776</guid>
      <dc:creator>AaronConnolly</dc:creator>
      <dc:date>2010-08-25T20:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: Silverlight 4 Memory Issues</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-4-memory-issues/m-p/733453#M18777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good morning, Aaron!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am currently developing two applications, and both suffer from memory leaks.&amp;nbsp; One of them I solved by taking any and all inline data templates and moving them to resources instead.&amp;nbsp; The other one still has an *awful* memory leak, and I'm not having much success plugging that one.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The one that is still leaking doesn't have any data templates to speak of, inline or otherwise, so it doesn't seem to match up with the known Silverlight memory leak.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I have any success in determining the cause of the leak, I will post here, just in case others are suffering as we are. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;NOTE: I do not think the ESRI Silverlight API is causing the leak, I'm just posting here to commiserate with Aaron, and share information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, and have a great day!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Lisa&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Aug 2010 13:55:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-4-memory-issues/m-p/733453#M18777</guid>
      <dc:creator>LisaChesley</dc:creator>
      <dc:date>2010-08-26T13:55:13Z</dc:date>
    </item>
    <item>
      <title>Re: Silverlight 4 Memory Issues</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-4-memory-issues/m-p/733454#M18778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We are seeing a severe memory leak when we repeatedly refresh a point layer using a timer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Our code uses the latest Microsoft Silverlight 4 SDK Sept2010, and the latest ESRI Silverlight API 2.0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We have narrowed it down to the "refresh" on our ArcGISDynamicMapServiceLayer layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Code snippet:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;string service_Name = dynamicLayerList&lt;I&gt;.ServiceName;&lt;/I&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;if (service_Name.Contains("Sensor") == true)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ESRI.ArcGIS.Client.ArcGISDynamicMapServiceLayer dynamicServiceLayer = &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MyMap.Layers[service_Name] as ESRI.ArcGIS.Client.ArcGISDynamicMapServiceLayer;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dynamicServiceLayer.DisableClientCaching = true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dynamicServiceLayer.Refresh();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // &amp;lt;-- causes memory leak &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // We tried to set it to null, but does not help&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dynamicServiceLayer = null;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there something we are missing or that we need to do to prevent this from leaking memory?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, any help would be appreciated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Charlie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2010 19:19:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-4-memory-issues/m-p/733454#M18778</guid>
      <dc:creator>DougCollins</dc:creator>
      <dc:date>2010-10-18T19:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Silverlight 4 Memory Issues</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-4-memory-issues/m-p/733455#M18779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Charlie, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your post! &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have experienced the same behavior with the ArcGISDynamicMapServiceLayer last Friday. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am programmatically changing Opacity, VisibleLayers and LayerDefinitions, calling Refresh after that. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After a few calls to the Refresh the memory consumptions jumps very high, and the application becomes unusable, or very slow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I had to change my design and avoid using the ArcGISDynamicMapServiceLayer - it was possible in my scenario. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope, this will be resolved soon!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Oct 2010 19:50:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-4-memory-issues/m-p/733455#M18779</guid>
      <dc:creator>DarinaTchountcheva</dc:creator>
      <dc:date>2010-10-18T19:50:54Z</dc:date>
    </item>
    <item>
      <title>Re: Silverlight 4 Memory Issues</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-4-memory-issues/m-p/733456#M18780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Darina,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your reply.&amp;nbsp; This does seem to be a real problem, particularly if you are calling refresh repeatedly to get the latest data (ex. location or sensor update) on a point or points.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wonder if this will be addressed in the latest ArcGIS Silverlight version (beta 2.1)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any ideas?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Charlie&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Oct 2010 19:42:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/silverlight-4-memory-issues/m-p/733456#M18780</guid>
      <dc:creator>DougCollins</dc:creator>
      <dc:date>2010-10-19T19:42:41Z</dc:date>
    </item>
  </channel>
</rss>

