# PHP Memory Limit

**URL:** https://community.kinsta.com/t/php-memory-limit/6042
**Category:** Questions
**Created:** [March 10, 2026, 2:41pm UTC](https://community.kinsta.com/t/php-memory-limit/6042 "2026-03-10T14:41:25Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Keith\_Henry](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/keith_henry/32/5449_2.png) [@Keith\_Henry](https://community.kinsta.com/u/Keith_Henry)
#### Post date: [March 10, 2026, 2:41pm UTC](https://community.kinsta.com/t/php-memory-limit/6042/1 "2026-03-10T14:41:25Z")

</div>

"My Elementor editor is crashing with a PHP fatal error: `Allowed memory size of 268435456 bytes exhausted` on admin-ajax.php. My wp-config.php sets WP\_MEMORY\_LIMIT to 1024M but PHP-FPM is capping it at 256MB. I need the PHP memory\_limit increased to at least 512M in the PHP-FPM pool configuration. Here is the error from the logs:

`PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 1032192 bytes) in /www/monitordailycom_744/public/wp-includes/functions.php on line 7295`"

How can I do this?

---

<div class="post-metadata">

### Author: ![merineth](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/merineth/32/3022_2.png) [@merineth](https://community.kinsta.com/u/merineth)
#### Post date: [March 11, 2026, 12:58am UTC](https://community.kinsta.com/t/php-memory-limit/6042/2 "2026-03-11T00:58:47Z")

</div>

Hi @Keith_Henry Welcome to the community! Hope you are well!

You can increase the memory limit value allocated to the site through our PHP Performance tool. You can do this from the Info section of the site, under the “PHP performance”, as shown on the screenshot below:

 ![Screenshot 2026-03-11 at 8.40.58 AM](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/6/6416959e5fbb915e4f1185be29c62d2639f08300.png)

You can increase the memory per thread and the total memory pool to be allocated to your site.

For more information on how this works, you can refer to this guide:

> **[PHP - PHP Performance - Kinsta® Docs](https://kinsta.com/docs/wordpress-hosting/php/wordpress-php-performance/)**
>
> Find out what impacts PHP performance for your site hosted on Kinsta, how to identify issues, and how to optimize your PHP thread usage.

I also checked your account and can confirm that the memory limit for your site has already been increased to 1GB from 256M, and there are currently no memory limit errors showing.

If you need any further assistance, please feel free to reach out to us at **[support@kinsta.com](mailto:support@kinsta.com)**, and we’ll be happy to help.
