<?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 Power BI Desktop high CPU and RAM load - Custom Visual in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Desktop-high-CPU-and-RAM-load-Custom-Visual/m-p/633270#M18652</link>
    <description>&lt;P&gt;Hello Power BI Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;recently we are getting high CPU-Usage and RAM-Usage till the report goes blank. This happens even on blank reports with only one visual that has more than&amp;nbsp;3 categories with 30000 values each. We did not experience that error in the past, we did suffer this issue first in December&amp;nbsp;and we recognized it recently that it is caused by Power BI. (The same works on Power BI Service fine).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using the latest Desktop Version of February and the latest API of 2.3.0 of Power BI Visual Tools for Custom Visuals.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On a deeper analyse of this issue, we found out by building a completely new visual that the problem is coming from the configuration in Power BI in capabilities.json, if using the data reduction algorithm on smaller data sets then 30000 it works fine otherwise not, further using different categories causes problems which did not occur in the past.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have put a completely&amp;nbsp;empty report with the visual in it where you can see the high CPU Usage. Which is caused by&amp;nbsp;&lt;EM&gt;CefSharp.BroserSubprocess&amp;nbsp;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/149264i9351427534243B3D/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The issue is reproducible&amp;nbsp;by increasing the number of categories and using categories&amp;nbsp;with distinct values of 30000.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
    "dataRoles": [
      {
        "displayName": "Number of cases",
        "name": "count",
        "kind": "Measure",
        "requiredTypes": [
          {
            "integer": true
          }
        ]
      },
      {
        "displayName": "Attributes",
        "name": "category",
        "kind": "Grouping"
      }
    ],
    "dataViewMappings": [
      {
        "categorical": {
          "categories": {
            "bind": {
              "to": "category"
            },
            "dataReductionAlgorithm": {
              "top": {
                "count": 30000
              }
            }
          },
          "values": {
            "select": [
              {
                "bind": {
                  "to": "count"
                }
              }
            ]
          }
        },
        "conditions": [
          {
            "count": {
              "min": 0,
              "max": 1
            },
            "category": {
              "min": 0,
              "max": 5
            }
          }
        ]
      }
    ],&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope someone can help,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since this is causing inconvenience.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With Regards&lt;/P&gt;</description>
    <pubDate>Tue, 12 Mar 2019 12:39:43 GMT</pubDate>
    <dc:creator>Capono</dc:creator>
    <dc:date>2019-03-12T12:39:43Z</dc:date>
    <item>
      <title>Power BI Desktop high CPU and RAM load - Custom Visual</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Desktop-high-CPU-and-RAM-load-Custom-Visual/m-p/633270#M18652</link>
      <description>&lt;P&gt;Hello Power BI Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;recently we are getting high CPU-Usage and RAM-Usage till the report goes blank. This happens even on blank reports with only one visual that has more than&amp;nbsp;3 categories with 30000 values each. We did not experience that error in the past, we did suffer this issue first in December&amp;nbsp;and we recognized it recently that it is caused by Power BI. (The same works on Power BI Service fine).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We are using the latest Desktop Version of February and the latest API of 2.3.0 of Power BI Visual Tools for Custom Visuals.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On a deeper analyse of this issue, we found out by building a completely new visual that the problem is coming from the configuration in Power BI in capabilities.json, if using the data reduction algorithm on smaller data sets then 30000 it works fine otherwise not, further using different categories causes problems which did not occur in the past.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have put a completely&amp;nbsp;empty report with the visual in it where you can see the high CPU Usage. Which is caused by&amp;nbsp;&lt;EM&gt;CefSharp.BroserSubprocess&amp;nbsp;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 600px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/149264i9351427534243B3D/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The issue is reproducible&amp;nbsp;by increasing the number of categories and using categories&amp;nbsp;with distinct values of 30000.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;{
    "dataRoles": [
      {
        "displayName": "Number of cases",
        "name": "count",
        "kind": "Measure",
        "requiredTypes": [
          {
            "integer": true
          }
        ]
      },
      {
        "displayName": "Attributes",
        "name": "category",
        "kind": "Grouping"
      }
    ],
    "dataViewMappings": [
      {
        "categorical": {
          "categories": {
            "bind": {
              "to": "category"
            },
            "dataReductionAlgorithm": {
              "top": {
                "count": 30000
              }
            }
          },
          "values": {
            "select": [
              {
                "bind": {
                  "to": "count"
                }
              }
            ]
          }
        },
        "conditions": [
          {
            "count": {
              "min": 0,
              "max": 1
            },
            "category": {
              "min": 0,
              "max": 5
            }
          }
        ]
      }
    ],&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope someone can help,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since this is causing inconvenience.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With Regards&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 12:39:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Desktop-high-CPU-and-RAM-load-Custom-Visual/m-p/633270#M18652</guid>
      <dc:creator>Capono</dc:creator>
      <dc:date>2019-03-12T12:39:43Z</dc:date>
    </item>
  </channel>
</rss>

