Open Closed

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


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)
  • 0
    maharatha created

    Any updates?

  • 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

  • 0
    ismcagdas created

    @maharatha is that worked for you ?

  • 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

  • 0
    ismcagdas created

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

  • 0
    velu created

    I am recieving an error :

    Memory error

    Can someone help?