Exporting User data Memory error

Hi, I had no problem exporting my users to Excel/CSV until we went over 10,000 and now I get this error.

Fatal error : Allowed memory size of 268435456 bytes exhausted (tried to allocate 12288 bytes) in /www/duranduranlos_509/public/wp-includes/functions.php on line 651

Fatal error : Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /www/duranduranlos_509/public/wp-includes/class-wp-hook.php on line 296 Here is the error:

Thanks!

Sounds like you either need to increase your WordPress memory limit, PHP memory limit, or both.

What Ric said. Also you can export in batches, specifying the starting row and limit.

Screenshot%202023-04-09%20at%2013-45-26%20s2Member%20Pro%20(User%20Import_Export)%20%E2%80%B9%20s2Member%20Membership%20Plugin%20for%20WordPress%20%E2%80%94%20WordPress

1 Like

Thanks so much. I have used the workaround of exporting in several groups. I’ve sent the memory issue to our web person but crickets. I don’t know how to increase WordPress memory to take care if that

1 Like

Totally forgot about this workaround, which I used to use years ago on shared hosting.

1 Like

@Surfowl This article seems to show how to increase the WP memory limit by editing the wp-config file.

1 Like

Editing the WP memory limit there would only work if it’s not set lower in php.ini, which is something that’s usually not editable on shared hosting.

The example in the article is really low for a Woo site.