Base solution for your next web application
Open Closed

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory #6138


User avatar
0
maharatha created

I am recieving an error : FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory while compiling the angular code.

Can someone help?

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

6 Answer(s)
  • User Avatar
    0
    maharatha created

    Any updates?

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    sago created

    Run the below commands and check

    npm install -g increase-memory-limit

    Run from the root location of your project: increase-memory-limit

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

    @maharatha is that worked for you ?

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    maharatha created

    No this didn't work, but when i increased the RAM it got resolved temporarily but keeps getting back now and then

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    ismcagdas created
    Support Team

    I think it is related to https://github.com/angular/angular-cli/issues/5618. Closing since there is nothing to do in AspNet Zero.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)
  • User Avatar
    0
    velu created

    I am recieving an error :

    Can someone help?

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)