CiviCRM Export Function memory exceeded / Time outs in Drupal 4.7
After many attempts working directly with our ISP we have exhausted many resources in trying to isolate an export error from the CiviCRM module. This comes in the form of a memory allocation error within php.ini when attempting to export a member list of 40,000 plus records.
to isolate the issue we first allocated more memory to the function in php.ini:
memory_limit = 128M
Attempting the export in intervals of 16M per attempt until we reached 128M.
After this adjustment to php.ini we then received server time outs and increased the execution time with the following string added to php.ini:
max_execution_time = 360
This appeared to resolve time out issues, However the memory issue still remains.
I have been given the ceiling of 512M for the export from my ISP and have been asked that when I am complete with the export that I re adjust the memory allocation back to a default setting because of a shared hosting environment.
This works fine for the administrators of the website, However site members who aim to use this function on a regular basis aren't savvy enough to know that in order to preform large exports some code editing has to be done on the sever side "php.ini" and once complete re adjusted to the default settings.
read more