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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Anonymous
Not applicable

Unable to package custom visual

Project size big I presume

 

Failed.JPG

 

is there any way I can increment the heap size ?

3 REPLIES 3
v-viig
Community Champion
Community Champion

Hello @Anonymous,

 

Do you have any JS files in your tsconfig.json? What version of PBIVIZ do you use?

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

 

 

Anonymous
Not applicable

hello @v-viig,

 

No my Tsconfig.js contains only ts files:

 

".api/v1.7.0/PowerBI-visuals.d.ts",
"src/main.ts",
"typings/index.d.ts",
"src/dataTransform.ts",
"../jsFunctions/**.ts",
"../jsFunctions/styleTransform.ts",
"../jsFunctions/objectEnumerationUtility.ts",
"../jsFunctions/functions.ts"

 

Api 1.7

v-viig
Community Champion
Community Champion

Looks like your TS is really heavy.

You might try to start node.js by using this command: 

node --max-old-space-size=8192 PathTOPBIVIZ 

 

Ignat Vilesov,

Software Engineer

 

Microsoft Power BI Custom Visuals

pbicvsupport@microsoft.com

 

Helpful resources

Announcements
Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.