PHP memory exhausted during large file uploads
Uploading files larger than 512MB causes PHP to exhaust memory, resulting in a white screen or 500 error.
Resolutions (1)
high confidence 35 verified
Increase PHP memory limit and upload limits:
# php.ini
memory_limit = 1G
upload_max_filesize = 16G
post_max_size = 16G
For Docker, add to your environment: PHP_MEMORY_LIMIT=1G
Applies to: 28.0, 29.0 on docker, bare-metal