Forum Discussion
memory error doesnt seem right
- 1 day ago
Hi db042190 ,
The error is accurate, and the reason the usage dashboard looks clean is that it can't show you what failed here.
CUs and storage are not the constraint. CUs measure CPU time, and the Storage tab is OneLake bytes on disk — an import model's in-memory footprint isn't in either one. Memory for semantic models is governed separately by Analysis Services resource governance, and the Fabric Capacity Metrics app doesn't expose those metrics at all. So you can be at 1% utilization with zero throttling and still get this.
The numbers in your error tells that:
- Database size before command execution: 1589 MB
- Memory limit granted: 1482 MB
- Consumed: 1484 MB
A full refresh needs roughly 2-3x the model's in-memory footprint, because the old copy stays resident while the new one is built, plus recalc on top. So a ~1.6 GB model wants somewhere around 3-5 GB of headroom and isn't getting close.
On the SKU side: F2, F4 and F8 all share the same 3 GB per-model ceiling, so bumping to F8 buys you nothing. F16 is the next real step at 5 GB. Also worth knowing that the 3 GB figure is an upper bound on model size, not a refresh budget — the docs note memory has to be reserved for refresh and query operations, so the usable number is lower. Fabric allocates dynamically too, which is why you got an odd 1482 MB rather than something round.
As for why it worked before and not today: the model grew past the tipping point, something else was resident on the capacity at that moment, or someone had a report open against the same model while the refresh ran. Query + refresh on one model stacks well past 2x.
What I'd do, in order:
1. Run VertiPaq Analyzer (DAX Studio or Tabular Editor) against the model via the XMLA endpoint. You'll almost always find one or two high-cardinality columns eating a third of the model. Datetime columns with seconds are the usual offender — split into date + time. Drop unused columns, and turn off auto date/time if it's on.
2. Move to incremental refresh, or drive partition-level refreshes through XMLA. The full-model refresh is what's killing you; one partition at a time keeps peak memory way down.
3. Check nothing else is querying the model during the refresh window.
4. Only look at F16 if optimization doesn't get you there. A 1.6 GB model is often 800 MB-1 GB after a proper cleanup, which sits comfortably inside F4.
One thing you can already cross off: at 1589 MB the model is above the 1 GB default, so Large semantic model storage format is clearly enabled.
If you want ongoing visibility into this, Workspace Monitoring captures AS engine events including memory, which is the gap the metrics app leaves.
Please mark this post as solution & let me know if this post helps you. Appreciate Kudos.
we got this email prior and im posting it here as i suspect it is related. But as shown in the images below that, i didnt see anything static that was at 50% of any sort of limit.
Hi db042190,
This is a separate issue. The first issue was exceeding the max memory of your F4 capacity, this email is about reaching 50% of the CU limit for your capacity. If you open Capacity Metrics now, you should see the 50% CU usage in there.
To solve the first issue, you either need to upgrade your capacity, or make your model smaller.
Data reduction techniques for Import modeling - Power BI | Microsoft Learn
You could also split your model into multiple smaller models.
- db0421908 hours ago
Impactful Individual
thx amy , that makes sense now that you guys posted your responses.
- db0421908 hours ago
Impactful Individual
...and we got that sm to refresh in the fabric ws by cutting down its granularity. i think we have a lot to talk about here. willl ask AI why that sm refreshed under the previous level of detail refreshed in a pro ws without error. i'll post back here if the answer is satisfactory.
- db0421907 hours ago
Impactful Individual
i guess pro ws memory thresholds on concurrent refresh is much higher. The db landing cant exceed 1 gb but if i read it correctly , the threshold on the shared space is up near 10 gig.