Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago

Unable to package custom visual

Project size big I presume

 

 

is there any way I can increment the heap size ?

3 Replies

  • v-viig's avatar
    v-viig
    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

    [email protected]

     

     

    • Anonymous's avatar
      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's avatar
        v-viig
        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

        [email protected]