Forum Discussion

Bhargava05's avatar
Bhargava05
Resolver II
1 year ago
Solved

Error While Refreshing Dataflow with Lakehouse Delta Tables - Stack Overflow Error-Mashup Exception

I am experiencing a recurring issue with Dataflow Gen2 in Microsoft Fabric. When the data source is an Azure Data Lake Storage (ADLS) or Lakehouse flat files, the Dataflow works fine. However, when t...
  • Anonymous's avatar
    Anonymous
    1 year ago

    Hi Bhargava05 ,

    From the content of your error report there are two error messages: Stack Overflow Error and Out of Memory Error.

     

    For your first error: Stack Overflow Error, I think this is usually the case if there is too much recursion or too deep call stack. So you may need to simplify the query or break it into smaller, more manageable parts.

     

    For your second reported error, Out of Memory Error, this happens when the data stream runs out of memory during evaluation. So I think you can reduce the amount of data you process at each step. Filter out unnecessary columns and rows early in the query. Break the data transformation process into smaller steps and stage the intermediate results. If possible, allocate more memory for the data flow process.

     

    In addition to this, I think you can do the following:

    1. make sure the schema of the Delta table matches the expected schema in Dataflow.

    2. make sure your Data Gateway is up to date.

     

     

    Best Regards

    Yilong Zhou

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.