# Oxygen Builder - Fatal Error Out of Memory

**URL:** https://community.kinsta.com/t/oxygen-builder-fatal-error-out-of-memory/243
**Category:** Application Support
**Created:** [January 24, 2021, 9:02pm UTC](https://community.kinsta.com/t/oxygen-builder-fatal-error-out-of-memory/243 "2021-01-24T21:02:26Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![James\_Vector](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/james_vector/32/178_2.png) [@James\_Vector](https://community.kinsta.com/u/James_Vector)
#### Post date: [January 24, 2021, 9:02pm UTC](https://community.kinsta.com/t/oxygen-builder-fatal-error-out-of-memory/243/1 "2021-01-24T21:02:26Z")

</div>

Evening all,

Does anyone use Oxygen builder?

Just trying it out for the first time - I’m using DevKinsta on an M1 Macbook Pro.

Other DevKinsta sites are ok, and Oxygen runs fine when I installed it on an empty site slot in my hosting account.

" **Fatal error** : Out of memory (allocated 9347072) (tried to allocate 5152768 bytes) in **/www/kinsta/public/oxygen/wp-content/plugins/oxygen/component-framework/oxygen-main-template.php** on line **256**

There has been a critical error on this website."

Any help much appreciated! Thanks

---

<div class="post-metadata">

### Author: ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)
#### Post date: [January 25, 2021, 4:19pm UTC](https://community.kinsta.com/t/oxygen-builder-fatal-error-out-of-memory/243/2 "2021-01-25T16:19:44Z")

</div>

Hi @James_Vector . Thanks for posting here and welcome to DevKinsta. We’re working on increasing the default PHP limit in a future version. In the meantime, you can enter the following into Terminal to manually increase the PHP limit. `docker exec -it devkinsta_fpm bash` then navigate to `cd /etc/php/7.x(change this)/fpm/` and your PHP version. The `php.ini` will be located there to edit the `memory_limit` line.

Edit: Apologies! Lastly, be sure to restart the container via `docker restart devkinsta_fpm`.

---

<div class="post-metadata">

### Author: ![James\_Vector](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/james_vector/32/178_2.png) [@James\_Vector](https://community.kinsta.com/u/James_Vector)
#### Post date: [January 25, 2021, 8:03pm UTC](https://community.kinsta.com/t/oxygen-builder-fatal-error-out-of-memory/243/3 "2021-01-25T20:03:30Z")

</div>

Hi Michael,

Thanks a lot for your reply - I tried that but didn’t have any luck unfortunately. Interesting using docker for the first time though - I verified 512M using a phpinfo() page and tried PHP 8 as well. Not sure what else I could try?

I’m not sure if this is an M1 Macbook bug!

Thanks again

---

<div class="post-metadata">

### Author: ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)
#### Post date: [January 25, 2021, 8:17pm UTC](https://community.kinsta.com/t/oxygen-builder-fatal-error-out-of-memory/243/4 "2021-01-25T20:17:32Z")

</div>

Hm, perhaps try a much higher value. 1024M maybe?

---

<div class="post-metadata">

### Author: ![James\_Vector](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/james_vector/32/178_2.png) [@James\_Vector](https://community.kinsta.com/u/James_Vector)
#### Post date: [January 25, 2021, 8:35pm UTC](https://community.kinsta.com/t/oxygen-builder-fatal-error-out-of-memory/243/5 "2021-01-25T20:35:44Z")

</div>

![Screenshot 2021-01-25 at 20.33.53](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/3a15cacd6d577acd2b2260e5f26987407a2c2357.png)

Still the same issue I’m afraid!

---

<div class="post-metadata">

### Author: ![James\_Vector](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/james_vector/32/178_2.png) [@James\_Vector](https://community.kinsta.com/u/James_Vector)
#### Post date: [January 25, 2021, 8:36pm UTC](https://community.kinsta.com/t/oxygen-builder-fatal-error-out-of-memory/243/6 "2021-01-25T20:36:19Z")

</div>

![Screenshot 2021-01-25 at 20.34.21](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/7bf77f859ccf0c341b45d5609d06cd4ddf1907ab.jpeg)  
Had to post twice as new users can only upload 1 pic per post

---

<div class="post-metadata">

### Author: ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)
#### Post date: [January 25, 2021, 9:49pm UTC](https://community.kinsta.com/t/oxygen-builder-fatal-error-out-of-memory/243/7 "2021-01-25T21:49:33Z")

</div>

Do you happen to have `WP_MEMORY_LIMIT` on your `wp-config.php` file? Try updating that as well. [Here’s a guide to help with updating that value too](https://kinsta.com/knowledgebase/wordpress-memory-limit/#increasing-your-sites-memory-limit).

---

<div class="post-metadata">

### Author: ![James\_Vector](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/james_vector/32/178_2.png) [@James\_Vector](https://community.kinsta.com/u/James_Vector)
#### Post date: [January 25, 2021, 10:10pm UTC](https://community.kinsta.com/t/oxygen-builder-fatal-error-out-of-memory/243/8 "2021-01-25T22:10:32Z")

</div>

Tried that too I’m afraid Michael!

Also this in php-fpm.conf

php\_admin\_value[memory\_limit] = 1024M

---

<div class="post-metadata">

### Author: ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)
#### Post date: [January 25, 2021, 11:58pm UTC](https://community.kinsta.com/t/oxygen-builder-fatal-error-out-of-memory/243/9 "2021-01-25T23:58:25Z")

</div>

Sorry for the trouble there @James_Vector . I’ll do further testing here and get back to you soon.

---

<div class="post-metadata">

### Author: ![James\_Vector](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/james_vector/32/178_2.png) [@James\_Vector](https://community.kinsta.com/u/James_Vector)
#### Post date: [January 26, 2021, 8:40am UTC](https://community.kinsta.com/t/oxygen-builder-fatal-error-out-of-memory/243/10 "2021-01-26T08:40:08Z")

</div>

No problem Michael - thanks a lot for looking into it.

Looks like a great tool and I’m sure we’ll be using it full time soon.

---

<div class="post-metadata">

### Author: ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)
#### Post date: [January 26, 2021, 7:42pm UTC](https://community.kinsta.com/t/oxygen-builder-fatal-error-out-of-memory/243/11 "2021-01-26T19:42:43Z")

</div>

Could you tell us the value you see under Site Health \> Info \> Server for PHP memory limit? A screenshot is below on where to find it exactly.

 ![Screen Shot on 2021-01-26 at 14:41:28](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/f7fc18d39586f52987a7303d94cc250be880fd44.png)

---

<div class="post-metadata">

### Author: ![James\_Vector](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/james_vector/32/178_2.png) [@James\_Vector](https://community.kinsta.com/u/James_Vector)
#### Post date: [January 26, 2021, 7:59pm UTC](https://community.kinsta.com/t/oxygen-builder-fatal-error-out-of-memory/243/12 "2021-01-26T19:59:35Z")

</div>

Hi Michael,

Thanks for continuing to look into this.

Looks ok on that page too

 ![Screenshot 2021-01-26 at 19.57.16](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/805f29b812532f8c31d16a5e1dde0f045dfe4e62.jpeg) (1024M).

---

<div class="post-metadata">

### Author: ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)
#### Post date: [January 26, 2021, 9:12pm UTC](https://community.kinsta.com/t/oxygen-builder-fatal-error-out-of-memory/243/13 "2021-01-26T21:12:34Z")

</div>

Does the same occur on PHP 7.4 and 7.3?

---

<div class="post-metadata">

### Author: ![James\_Vector](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/james_vector/32/178_2.png) [@James\_Vector](https://community.kinsta.com/u/James_Vector)
#### Post date: [January 31, 2021, 1:10pm UTC](https://community.kinsta.com/t/oxygen-builder-fatal-error-out-of-memory/243/14 "2021-01-31T13:10:44Z")

</div>

Yep - same issue I’m afraid! Very strange.

Tried removing other sites, and downloading a site from Kinsta that’s working and still no luck.

---

<div class="post-metadata">

### Author: ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)
#### Post date: [February 1, 2021, 8:19pm UTC](https://community.kinsta.com/t/oxygen-builder-fatal-error-out-of-memory/243/15 "2021-02-01T20:19:23Z")

</div>

Would you be able to create a brand new site on DevKinsta and let me know if this issue occurs there as well?

---

<div class="post-metadata">

### Author: ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)
#### Post date: [March 3, 2021, 4:42pm UTC](https://community.kinsta.com/t/oxygen-builder-fatal-error-out-of-memory/243/16 "2021-03-03T16:42:54Z")

</div>

Hi @James_Vector . Just checking in on how things are going. Were you able to get this resolved? If you continue to see issues, please let us know and create a new thread here so we can assist further. Also be sure to update DevKinsta if you haven’t already 🙂

---

<div class="post-metadata">

### Author: ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)
#### Post date: [March 3, 2021, 4:43pm UTC](https://community.kinsta.com/t/oxygen-builder-fatal-error-out-of-memory/243/17 "2021-03-03T16:43:11Z")

</div>


