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?


6 Answer(s)
  • User Avatar
    0
    maharatha created

    Any updates?

  • 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

  • User Avatar
    0
    ismcagdas created
    Support Team

    @maharatha is that worked for you ?

  • 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

  • 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.

  • User Avatar
    0
    velu created

    I am recieving an error :

    Can someone help?