Reputation: 155
We are trying to export 30000
records but it's showing the following error in wordpress :
PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 49152 bytes) in Unknown on line 0, referer: https://xxxxxxxxxx
We tried to increase the memory size from 128M 256M 512M but still showing the same error Tried with php.ini and wordpress define( 'WP_MAX_MEMORY_LIMIT' , '512M' );
Even tried with 1G.
Observation is upto size 256
getting internal error 500
and after that not getting that internal error 500
but not able to export.
How to solve this issue? in disk there is 715MB
space available.
Upvotes: 0
Views: 156
Reputation: 155
Finally it's working when we've increased the disk space to 20 GB.
Upvotes: 0
Reputation: 75
Try setting your max_execution_time in your php ini file to something bigger. Could be a script timeout.
Upvotes: 0