# FATAL ERROR: CALL\_AND\_RETRY\_LAST Allocation failed - process out of memory

**URL:** <https://forum.ionicframework.com/t/fatal-error-call-and-retry-last-allocation-failed-process-out-of-memory/65401>\
**Category:** ionic-v3\
**Created:** [October 2, 2016, 5:57am UTC](https://forum.ionicframework.com/t/fatal-error-call-and-retry-last-allocation-failed-process-out-of-memory/65401 "2016-10-02T05:57:13Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![EddyTheDove](https://avatars.discourse-cdn.com/v4/letter/e/f0a364/32.png) [@EddyTheDove](https://forum.ionicframework.com/u/EddyTheDove)\
**Post date:** [October 2, 2016, 5:57am UTC](https://forum.ionicframework.com/t/fatal-error-call-and-retry-last-allocation-failed-process-out-of-memory/65401/1 "2016-10-02T05:57:13Z")

</div>

`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

---

<div class="post-metadata">

**Author:** ![populin](https://avatars.discourse-cdn.com/v4/letter/p/a87d85/32.png) [@populin](https://forum.ionicframework.com/u/populin)\
**Post date:** [October 2, 2016, 3:05pm UTC](https://forum.ionicframework.com/t/fatal-error-call-and-retry-last-allocation-failed-process-out-of-memory/65401/2 "2016-10-02T15:05:14Z")

</div>

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 😕

```auto
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

```

---

<div class="post-metadata">

**Author:** ![ihadeed](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ihadeed/32/95258_2.png) [@ihadeed](https://forum.ionicframework.com/u/ihadeed)\
**Post date:** [October 2, 2016, 10:53pm UTC](https://forum.ionicframework.com/t/fatal-error-call-and-retry-last-allocation-failed-process-out-of-memory/65401/4 "2016-10-02T22:53:44Z")

</div>

See my response here: [RC.0 Ionic serve FATAL ERROR: CALL\_AND\_RETRY\_LAST Allocation failed - process out of memory](https://forum.ionicframework.com/t/rc-0-ionic-serve-fatal-error-call-and-retry-last-allocation-failed-process-out-of-memory/65479/3?u=ihadeed)

---

<div class="post-metadata">

**Author:** ![speedflyer](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@speedflyer](https://forum.ionicframework.com/u/speedflyer)\
**Post date:** [June 5, 2017, 8:11pm UTC](https://forum.ionicframework.com/t/fatal-error-call-and-retry-last-allocation-failed-process-out-of-memory/65401/5 "2017-06-05T20:11:33Z")

</div>

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"`
