<?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: CreateSwatchAsync - COMException (0x88980003) in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/createswatchasync-comexception-0x88980003/m-p/21841#M253</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;There is a discussion of layer types, number of layers, rendering modes, etc in the Performance Considerations doc: &lt;A href="https://developers.arcgis.com/net/desktop/guide/performance-considerations.htm" title="https://developers.arcgis.com/net/desktop/guide/performance-considerations.htm"&gt;Performance considerations—ArcGIS Runtime SDK for .NET | ArcGIS for Developers&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Oct 2014 14:15:47 GMT</pubDate>
    <dc:creator>MichaelBranscomb</dc:creator>
    <dc:date>2014-10-28T14:15:47Z</dc:date>
    <item>
      <title>CreateSwatchAsync - COMException (0x88980003)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/createswatchasync-comexception-0x88980003/m-p/21838#M250</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;We are seeing a problem in our application which is caused by calls to Symbol.CreateSwatchAsync. The exception we are getting is a COMException (0x88980003) which is thrown while we create the images for our legend controls.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This doesn't happen with a single map window being opened. But if we start to open more maps at the same time then it starts to appear. We have a large number of layers being loaded in each map (~50) and some of the layers can have large numbers of symbols (unique value renderers etc...). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We loop through the layer infos and create the swatches we need to display in our application. It could suggest that something is therefore not being released correctly by the API?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the full stack trace for you, and it's also worth mentioning that our 'googling' bought up this very similar issue raised earlier in the year - &lt;A _jive_internal="true" href="https://community.esri.com/thread/95101"&gt;https://community.esri.com/thread/95101&lt;/A&gt;.&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;Jon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 15:50:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/createswatchasync-comexception-0x88980003/m-p/21838#M250</guid>
      <dc:creator>JonDicken</dc:creator>
      <dc:date>2014-10-27T15:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: CreateSwatchAsync - COMException (0x88980003)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/createswatchasync-comexception-0x88980003/m-p/21839#M251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's likely you're running out of texture memory on your graphics card. 50 layers is &lt;EM&gt;way&lt;/EM&gt; beyond what we would recommend to get a proper performance and reduce memory consumption.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Oct 2014 16:13:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/createswatchasync-comexception-0x88980003/m-p/21839#M251</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2014-10-27T16:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: CreateSwatchAsync - COMException (0x88980003)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/createswatchasync-comexception-0x88980003/m-p/21840#M252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yep, running out of something. We allow our clients to configure the number of layers &amp;amp; maps so this is something that will be different on a per client basis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any clear recommendations for number of layers, features etc... anywhere? Or what would you personally consider to be a reasonable amount?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 14:10:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/createswatchasync-comexception-0x88980003/m-p/21840#M252</guid>
      <dc:creator>JonDicken</dc:creator>
      <dc:date>2014-10-28T14:10:11Z</dc:date>
    </item>
    <item>
      <title>Re: CreateSwatchAsync - COMException (0x88980003)</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/createswatchasync-comexception-0x88980003/m-p/21841#M253</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;There is a discussion of layer types, number of layers, rendering modes, etc in the Performance Considerations doc: &lt;A href="https://developers.arcgis.com/net/desktop/guide/performance-considerations.htm" title="https://developers.arcgis.com/net/desktop/guide/performance-considerations.htm"&gt;Performance considerations—ArcGIS Runtime SDK for .NET | ArcGIS for Developers&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 14:15:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/createswatchasync-comexception-0x88980003/m-p/21841#M253</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2014-10-28T14:15:47Z</dc:date>
    </item>
  </channel>
</rss>

