FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory

ionic serve works well. but every now and then, I keep receiving the following error:
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory
and I have to quit and restart ionic serve

Cordova CLI: 6.3.1
Gulp version: CLI version 3.9.1
Gulp local:
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
ios-deploy version: 1.8.3
ios-sim version: 5.0.4
OS: Mac OS X El Capitan
Node Version: v5.1.0
Xcode version: Xcode 7.3 Build version 7D175

2 Likes

Same for me… In addition of having to change everything in the code now and then, we now face memory issues… can’t wait for a stable version :confused:

Cordova CLI: 6.3.1
Gulp version:  CLI version 3.9.1
Gulp local:
Ionic Framework Version: 2.0.0-rc.0
Ionic CLI Version: 2.1.0-beta.3
Ionic App Lib Version: 2.1.0-beta.1
ios-deploy version: 1.9.0
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v6.7.0
Xcode version: Xcode 8.0 Build version 8A218a
2 Likes

See my response here: RC.0 Ionic serve FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - process out of memory

For the people who face the issue

Ensure that if you have the following line in your package.json to delete it before your build
"ionic_source_map_type": "#inline-source-map"