<?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 High CPU usage after changing to a base map with a different spatial reference in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/high-cpu-usage-after-changing-to-a-base-map-with-a/m-p/1183214#M11083</link>
    <description>&lt;P&gt;I’m seeing high CPU usage in my application after changing the base map to one with a different spatial reference.&amp;nbsp; I believe the high CPU usage is related to calling GeometryEngine.DensifyGeodetic for displaying lines on the map but cannot be 100% certain of this.&amp;nbsp; Profiling it just shows high CPU usage from 4 runtimecore tasks and it’s not possible to determine what is causing them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The map has a number of graphic layers, one of which displays a series of lines on the map.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When changing the base map I do the following,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create and load a new WmtsLayer that points to map server for the new base map&lt;/LI&gt;&lt;LI&gt;Create a new map in the MapView with the new spatial reference&lt;/LI&gt;&lt;LI&gt;Add the WmtsLayer as a base map to the MapView&lt;/LI&gt;&lt;LI&gt;Reproject the graphic layers to use the new spatial reference&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The high CPU usage does seem to depend on the spatial reference, with some maps being fine and some having the high CPU usage.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’m using .Net Arcgis runtime 100.14.0 with .NET 6.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jun 2022 16:37:51 GMT</pubDate>
    <dc:creator>MarkWoodward2</dc:creator>
    <dc:date>2022-06-15T16:37:51Z</dc:date>
    <item>
      <title>High CPU usage after changing to a base map with a different spatial reference</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/high-cpu-usage-after-changing-to-a-base-map-with-a/m-p/1183214#M11083</link>
      <description>&lt;P&gt;I’m seeing high CPU usage in my application after changing the base map to one with a different spatial reference.&amp;nbsp; I believe the high CPU usage is related to calling GeometryEngine.DensifyGeodetic for displaying lines on the map but cannot be 100% certain of this.&amp;nbsp; Profiling it just shows high CPU usage from 4 runtimecore tasks and it’s not possible to determine what is causing them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The map has a number of graphic layers, one of which displays a series of lines on the map.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When changing the base map I do the following,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Create and load a new WmtsLayer that points to map server for the new base map&lt;/LI&gt;&lt;LI&gt;Create a new map in the MapView with the new spatial reference&lt;/LI&gt;&lt;LI&gt;Add the WmtsLayer as a base map to the MapView&lt;/LI&gt;&lt;LI&gt;Reproject the graphic layers to use the new spatial reference&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The high CPU usage does seem to depend on the spatial reference, with some maps being fine and some having the high CPU usage.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’m using .Net Arcgis runtime 100.14.0 with .NET 6.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2022 16:37:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/high-cpu-usage-after-changing-to-a-base-map-with-a/m-p/1183214#M11083</guid>
      <dc:creator>MarkWoodward2</dc:creator>
      <dc:date>2022-06-15T16:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: High CPU usage after changing to a base map with a different spatial reference</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/high-cpu-usage-after-changing-to-a-base-map-with-a/m-p/1185296#M11093</link>
      <description>&lt;P&gt;Do you have a repro app or code that demonstrates the issue?&lt;/P&gt;</description>
      <pubDate>Wed, 22 Jun 2022 23:09:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/high-cpu-usage-after-changing-to-a-base-map-with-a/m-p/1185296#M11093</guid>
      <dc:creator>MichaelBranscomb</dc:creator>
      <dc:date>2022-06-22T23:09:51Z</dc:date>
    </item>
  </channel>
</rss>

