You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 4, 2019. It is now read-only.
Large OpenStax books present memory challenges for PHP. If the server configuration is insufficiently resourced, the import will fail. Adjusting this value dynamically could diminish the likelihood of this happening. Values to target:
The text was updated successfully, but these errors were encountered:
bdolor
changed the title
dynamically adjust memory allocation for PHP for large files
dynamically adjust memory allocation for PHP with large files
Apr 6, 2018
Description
Large OpenStax books present memory challenges for PHP. If the server configuration is insufficiently resourced, the import will fail. Adjusting this value dynamically could diminish the likelihood of this happening. Values to target:
post_max_size
upload_max_size
Needed to get past https://github.com/pressbooks/pressbooks/blob/dev/inc/modules/import/class-import.php#L510
Perhaps also look at:
memory_limit
Expected behaviour
Some assurance of reliability for importing large files from URL.
Actual behaviour
Fatal error: Allowed memory size exhausted
Steps to reproduce the problem
https://cnx.org/exports/[email protected]/elementary-algebra-2.49.zip
see #50
System Information
The text was updated successfully, but these errors were encountered: