{"id":547,"date":"2026-09-27T08:00:00","date_gmt":"2026-09-27T06:00:00","guid":{"rendered":"https:\/\/servflix.com\/increase-elementor-memory-limit\/"},"modified":"2026-09-29T14:48:08","modified_gmt":"2026-09-29T12:48:08","slug":"increase-elementor-memory-limit","status":"publish","type":"post","link":"https:\/\/servflix.com\/en\/increase-elementor-memory-limit\/","title":{"rendered":"How to increase the Elementor memory limit"},"content":{"rendered":"<p>The Elementor editor won&#8217;t load, only shows a gray area, or crashes with \u201cAllowed memory size exhausted\u201d? In most cases, the PHP memory limit is too low. In this article, you&#8217;ll learn what&#8217;s behind it, how to check the current value and how to increase it.<\/p>\n<h2>What is the PHP memory limit?<\/h2>\n<p>The memory limit defines the maximum amount of memory a single PHP script may use. Every page request in WordPress is such a script. If it needs more memory than allowed, PHP aborts \u2013 and you see an error or a blank page.<\/p>\n<p>By default, WordPress itself only sets 40 MB for the frontend (constant <code>WP_MEMORY_LIMIT<\/code>). That&#8217;s far too little for page builders like Elementor. <strong>For Elementor Pro, you should plan for at least 512 MB.<\/strong> More headroom doesn&#8217;t hurt: the more plugins you use and the more complex your pages, the more memory the editor needs.<\/p>\n<h2>Step 1: Check the current value<\/h2>\n<p>The quickest way is right inside WordPress:<\/p>\n<ul>\n<li><strong>Elementor:<\/strong> In the dashboard under <em>Elementor \u2192 System Info<\/em>, you&#8217;ll find the \u201cMemory Limit\u201d value in the \u201cWordPress Environment\u201d section.<\/li>\n<li><strong>WordPress:<\/strong> Under <em>Tools \u2192 Site Health \u2192 Info<\/em>, you&#8217;ll find the \u201cPHP memory limit\u201d in the \u201cServer\u201d section.<\/li>\n<\/ul>\n<h2>Step 2: Increase the memory limit<\/h2>\n<p>There are three common ways. Which one works for you depends on your hosting.<\/p>\n<h3>Option A: In Plesk (recommended)<\/h3>\n<p>If your hosting uses Plesk, this is the easiest and cleanest way:<\/p>\n<ol>\n<li>Log in to Plesk and select your domain.<\/li>\n<li>Open <em>PHP Settings<\/em> (or \u201cPHP\u201d).<\/li>\n<li>Set the <code>memory_limit<\/code> value to <code>512M<\/code> or higher.<\/li>\n<li>Save \u2013 the change takes effect immediately.<\/li>\n<\/ol>\n<h3>Option B: In wp-config.php<\/h3>\n<p>Open the <code>wp-config.php<\/code> file in the root directory of your WordPress installation and add the following <strong>above<\/strong> the line <code>\/* That's all, stop editing! Happy publishing. *\/<\/code>:<\/p>\n<pre><code>define( 'WP_MEMORY_LIMIT', '512M' );\ndefine( 'WP_MAX_MEMORY_LIMIT', '512M' );<\/code><\/pre>\n<p>Important: WordPress can only request as much memory as the server allows. If the server&#8217;s limit is lower, this setting has no effect \u2013 then you need option A or C.<\/p>\n<h3>Option C: In php.ini or .user.ini<\/h3>\n<p>With some web hosts, you can create your own <code>php.ini<\/code> or <code>.user.ini<\/code> in the root directory:<\/p>\n<pre><code>memory_limit = 512M<\/code><\/pre>\n<p>The <code>.htaccess<\/code> method that used to be recommended often only works on Apache servers with mod_php. On NGINX servers, the file is ignored.<\/p>\n<h2>Step 3: Check the result<\/h2>\n<p>Open <em>Elementor \u2192 System Info<\/em> again and check the value. Then reload the editor. If it still doesn&#8217;t run smoothly, take a look at the other <a href=\"https:\/\/servflix.com\/en\/elementor-slow\/\">causes of a slow Elementor<\/a>.<\/p>\n<h2>If your web host doesn&#8217;t allow a higher limit<\/h2>\n<p>Especially with cheap shared hosting plans, the memory limit is often capped at 128 or 256 MB. Then your only option is to switch plans or providers.<\/p>\n<p>At servflix.com, every plan gives you <strong>1 GB of memory for PHP<\/strong> \u2013 twice the recommended 512 MB for Elementor Pro. Plus PHP 8.1+, NVMe storage and OPcache. Learn more on our <a href=\"https:\/\/servflix.com\/en\/elementor-hosting\/\">Elementor hosting<\/a> page.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u201cAllowed memory size exhausted\u201d or an editor that won&#8217;t load? Here&#8217;s how to check the PHP memory limit and raise it in Plesk, wp-config.php or php.ini.<\/p>\n","protected":false},"author":1,"featured_media":388,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[33],"tags":[],"class_list":["post-547","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-elementor-en"],"_links":{"self":[{"href":"https:\/\/servflix.com\/en\/wp-json\/wp\/v2\/posts\/547","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/servflix.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/servflix.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/servflix.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/servflix.com\/en\/wp-json\/wp\/v2\/comments?post=547"}],"version-history":[{"count":1,"href":"https:\/\/servflix.com\/en\/wp-json\/wp\/v2\/posts\/547\/revisions"}],"predecessor-version":[{"id":572,"href":"https:\/\/servflix.com\/en\/wp-json\/wp\/v2\/posts\/547\/revisions\/572"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/servflix.com\/en\/wp-json\/wp\/v2\/media\/388"}],"wp:attachment":[{"href":"https:\/\/servflix.com\/en\/wp-json\/wp\/v2\/media?parent=547"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/servflix.com\/en\/wp-json\/wp\/v2\/categories?post=547"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/servflix.com\/en\/wp-json\/wp\/v2\/tags?post=547"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}