# memory size of 536870912 bytes exhausted

**URL:** https://forum.mautic.org/t/memory-size-of-536870912-bytes-exhausted/2959
**Category:** Product Support
**Created:** [December 13, 2015, 5:04pm UTC](https://forum.mautic.org/t/memory-size-of-536870912-bytes-exhausted/2959 "2015-12-13T17:04:17Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![healthstatus](https://avatars.discourse-cdn.com/v4/letter/h/9f8e36/32.png) [@healthstatus](https://forum.mautic.org/u/healthstatus)
#### Post date: [December 13, 2015, 5:04pm UTC](https://forum.mautic.org/t/memory-size-of-536870912-bytes-exhausted/2959/1 "2015-12-13T17:04:17Z")

</div>

Anybody seen this error before? Cleared cache, rebooted, same message thrown into log.  
  
  
  
  
  
ERROR: Fatal: Allowed memory size of 536870912 bytes exhausted (tried to allocate 81 bytes) - in file //vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php - at line 588 [] []

---

<div class="post-metadata">

### Author: ![healthstatus](https://avatars.discourse-cdn.com/v4/letter/h/9f8e36/32.png) [@healthstatus](https://forum.mautic.org/u/healthstatus)
#### Post date: [December 13, 2015, 5:04pm UTC](https://forum.mautic.org/t/memory-size-of-536870912-bytes-exhausted/2959/2 "2015-12-13T17:04:17Z")

</div>

Anybody seen this error before? Cleared cache, rebooted, same message thrown into log.

ERROR: Fatal: Allowed memory size of 536870912 bytes exhausted (tried to allocate 81 bytes) - in file //vendor/doctrine/orm/lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php - at line 588 [] []

---

<div class="post-metadata">

### Author: ![escopecz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/escopecz/32/370_2.png) [@escopecz](https://forum.mautic.org/u/escopecz)
#### Post date: [December 14, 2015, 4:06pm UTC](https://forum.mautic.org/t/memory-size-of-536870912-bytes-exhausted/2959/3 "2015-12-14T16:06:08Z")

</div>

Try to increase your memory\_limit in the php config file.

---

<div class="post-metadata">

### Author: ![val\_mautic](https://avatars.discourse-cdn.com/v4/letter/v/bbe5ce/32.png) [@val\_mautic](https://forum.mautic.org/u/val_mautic)
#### Post date: [April 21, 2016, 12:24am UTC](https://forum.mautic.org/t/memory-size-of-536870912-bytes-exhausted/2959/4 "2016-04-21T00:24:15Z")

</div>

I had this fatal error, too, when I tried to launch the install. (Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 72 bytes) in /home/valmathews/public\_html/mautic/app/bootstrap.php.cache on line 2704.) I talked to my hosting company and they walked me through tweaking things. Problem fixed.

BEFORE you install Mautic, do these tweaks so you don’t get a fatal error message at the end of the launch and Mautic will not install. (These instructions are for GoDaddy’s cPanel. They may be slightly different depending on your cPanel configuration):

Go to cPanel  
Scroll down to Software section  
Click on “Select PHP Version”  
Change PHP version to the highest listed (see [http://php.net/supported-versions.php](http://php.net/supported-versions.php) for what versions of php)  
Put a checkmark next to “intl” and “memcached” (NOT memchache BUT memchached with a d).  
SAVE  
Click blue button in the upper right that says “Switch to PHP Extensions”  
Change memory limit to 256 (need at least 128)  
SAVE  
Go back to cPanel  
Scroll down to software section  
Click “Optimize Website”  
Check “Compress all content”  
Click “Update Settings”  
Go back to cPanel  
Scroll down to software section  
Click “PHP Processes”  
Click “Kill Processes”  
Check websites to make sure everything still looks right

---

<div class="post-metadata">

### Author: ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)
#### Post date: [February 2, 2020, 10:56pm UTC](https://forum.mautic.org/t/memory-size-of-536870912-bytes-exhausted/2959/5 "2020-02-02T22:56:30Z")

</div>


