Forum Discussion

Mixednuts's avatar
Mixednuts
Icon for Helper III rankHelper III
1 year ago
Solved

Same PBIX with databricks source runs out memory in a PRO workspace, but runs in 15 minutes in PPU

Hi, We have a 223mb PBIX, which when published to a PRO workspace and is refreshed online, returns the following error: Resource Governing: This operation was canceled because there wasn't enou...
  • nilendraFabric's avatar
    1 year ago

    hi Mixednuts 

    In a Pro workspace, datasets are limited to 1GB in size, but the actual memory required during refresh operations can be significantly higher than the final dataset size. When refreshing a dataset, Power BI needs to:

    1. Unzip the existing dataset into memory

    2. Upload and process new data in memory

    3. Create the refreshed dataset

    This process can require almost double the memory needed to store the dataset itself, which explains why your 223MB PBIX is hitting memory limits during refresh

     

     

    look like Your data processing is memory-intensive, possibly due to complex transformations

     

     

    try : 

     

    • Remove unnecessary columns and rows to reduce the dataset size

    • Minimize calculated columns and set appropriate data types

    • Move transformations to the data source (Databricks) rather than performing them in Power BI

     

    Optimize Your Databricks Source:

    • Use Delta Tables in Databricks which are optimized for performance

    • Run OPTIMIZE commands on your Delta Tables regularly

    • Consider using SQL Warehouses instead of All-Purpose clusters for better BI workload performance

     

    Worth looking at