• Hi,

    I have a db with 4300 records. Until yesterday it was made of 2800 records and completely working (csv download and upload as well)

    Yesterday night I had to increase it up to 4.300 records and now when I try to download the csv I get this message (debuggin mode true):
    Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 87 bytes) in …/wp-includes/wp-db.php on line 1565

    I think I cannot modify server capabilities (it’s a shared hosting…).
    – Is there something I can modify in the plugin setting?
    – Could I split the query in multiple parts? (doing so, I could have part1.csv, part2.csv,… and rejoin them when downloaded) Something like part1.csv from record 1 to record 1000, part2.csv from 1001 to 2000 etc.

    Thank you. Regards. Carlo

    https://ww.wp.xz.cn/plugins/participants-database/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author xnau webdesign

    (@xnau)

    Modifying the memory allotment is usually allowed with shared hosting. You can usually put the PHP memory setting in your WP config file.

    There isn’t any way to break the download up into chunks, unless you want to filter the list (using a list search in the admin) so that only part of the list is showing before you download.

    Thread Starter teliuscf

    (@teliuscf)

    Thank you Roland, I’ll try both.

    Cheers.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fatal Error when downloading csv’ is closed to new replies.