Issue Summary
I’ve edited /local-site/conf/php/php.ini.hbs, replacing:
memory_limit = 256M
with
memory_limit = 512M
,
restarted the website, reloaded adminer, and received the same memory error in adminer when importing a 283MB .sql.zip:
Fatal error : Allowed memory size of 268435456 bytes exhausted (tried to allocate 283531240 bytes) in /Applications/Local.app/Contents/Resources/extraResources/adminer/adminer.php on line 98
Checking phpinfo, I see:
memory_limit 512M
Replication
On macOS, edit /local-site/conf/php/php.ini.hbs, replacing:
memory_limit = 256M
with
memory_limit = 512M
,
Load the site’s adminer, try and import a file larger than 256MB, should receive the same error.
System Details
-
Which version of Local is being used?
6.7.1+6369
. -
What Operating System (OS) and OS version is being used?
macOS Ventura 13.3.1
-
Attach the Local Log.
local-logs.zip (178.3 KB)