Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Shahhaiderbomb
Frequent Visitor

Fabric Extensibility Toolkit: Development workload startup failure

I was replicating youtube video demo to create Hello World workload. On my personal free GitHub account I had limitation to allocate machine type to codespace only upto 4 cores while requirement was 8 cores. I asked GitHub Copilot to fix the repo files for a 4 core machine type.

Error in Micrsoft Fabric Experience:
Development workload startup failure.
The development workload startup has failed due to an inactive local server or a configuration issue.

Solution:

Fixed: OOM Errors on 4-Core Codespaces

The Problem

The development server crashes with Out-of-Memory (OOM) errors when running the Fabric Extensibility Toolkit on standard 4-core Codespace machines.

Root Cause

Webpack bundling for this toolkit is memory-intensive. On 4-core machines (which typically only have 8GB RAM), the default Node.js heap limit and source map generation exceed the available system memory.


Solution Applied

1. Increased Node Heap Size

Updated the start script in package.json to allocate more memory to the Node process.

  • File: package.json

  • Change: Increased --max-old-space-size from 4GB to 6GB.

JSON
 
// Before
"start:codespace": "node --max-old-space-size=4096 ..."

// After
"start:codespace": "node --max-old-space-size=6144 ..."

2. Conditional Source Maps

Disabled source maps specifically when running inside a Codespace environment to reduce the memory footprint by approximately 2GB.

  • File: Workload/webpack.dev.js

  • Change: Added a check for the CODESPACES environment variable.

JavaScript
 
// Before
devtool: 'source-map' 

// After
devtool: process.env.CODESPACES ? false : 'source-map'

3. Environment Cleanup

Performed a manual cleanup of leftover build assets and cache from previous failed setup attempts to ensure a clean slate.


Result

The Dev server and gateway now start successfully on 4-core machines without memory crashes.

[!TIP] Recommendation: While these fixes stabilize the 4-core experience, upgrading to an 8-core machine is still recommended for optimal build speed and performance.

2 REPLIES 2
deborshi_nag
Advocate V
Advocate V

Hi @Shahhaiderbomb 

 

Thank you for posting, however it is difficult to interpret if you're referring to an issue with the Data Engineering experience of Microsoft Fabric, which is what the forum is for. Woud you be able to expand on your post please?

 

Please leave a Kudos or accept it as a Solution

lbendlin
Super User
Super User

What is your question?  Or are you looking for the Blog section? https://community.fabric.microsoft.com/t5/Fabric-community-blogs/ct-p/fabricblogs

Helpful resources

Announcements
December Fabric Update Carousel

Fabric Monthly Update - December 2025

Check out the December 2025 Fabric Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.