{"id":6853160,"date":"2015-12-15T15:05:39","date_gmt":"2015-12-15T15:05:39","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/increase-php-memory_limit\/"},"modified":"2016-08-30T21:21:44","modified_gmt":"2016-08-30T21:21:44","slug":"increase-php-memory_limit","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/increase-php-memory_limit\/","title":{"rendered":"Increase php memory_limit"},"content":{"rendered":"<p>Hello,<\/p>\n<p>We use this plugin in one of our themes and we have a lot of <code>.less<\/code> files so very often php throws error because memory limit was reached.<\/p>\n<p>We can&#8217;t call in theme <code>ini_set(...)<\/code> because it will not pass Theme Check.<\/p>\n<p>Can you please add in plugin the following line?<\/p>\n<pre><code>@ini_set( &#039;memory_limit&#039;, apply_filters( &#039;admin_memory_limit&#039;, WP_MAX_MEMORY_LIMIT ) );<\/code><\/pre>\n<p>https:\/\/wordpress.org\/plugins\/lessphp\/<\/p>\n","protected":false},"template":"","class_list":["post-6853160","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6853160","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6853160\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6853160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}