We have faced a limit of 1,600 entries being able to export in CSV from the database. Is there any way to lift this limit?
GF v1.5.2.8
We have faced a limit of 1,600 entries being able to export in CSV from the database. Is there any way to lift this limit?
GF v1.5.2.8
Have temporarily fixed this by changing:
$page_size = 50;
in export.php
Why does this occur? Is there now a higher limit in place?
Sounds like a PHP memory issue. How much RAM is available to PHP and to WordPress?
Here's an article on increasing the available RAM:
http://www.nerdgrind.com/increase-wordpress-and-php-memory-limit/
It could also be a timeout, which is also a PHP configuration issue.
The available RAM was set to 32MB for WordPress and 64MB for PHP.
I've increased this to 256MB and 512MB respectively, reset the $page_size to 200 and it is exporting all the entries correctly now.
As a side note, maybe setting the default $page_size to 50 for gravity forms is a good move? It would help those will smaller RAM limits in place.
If you are going to change it, you should probably run the script with various $page_size to find the optimal number.
5,10,20,30,40,50,100,200,400
Thank you for the suggestion and we're happy you were able to resolve your problem. Thanks for the update.