lesterchan / wp-sweep

WP-Sweep allows you to clean up unused, orphaned and duplicated data in your WordPress. It also optimizes your database tables.
https://wordpress.org/plugins/wp-sweep/
152 stars 23 forks source link

WP Sweep doesn't complete #28

Closed thinkaboutit closed 8 years ago

thinkaboutit commented 8 years ago

Hi

I'm using WP Sweep to delete a lot of revisions (nearly 1300) in a local environment (xampp).

After some hours the process was not completed, so I closed the page and I have found that only 50 revisions were deleted

How can I make it work?

thanks for your plugin and time

lesterchan commented 8 years ago

You have to keep running it. Your server timeout. You have to increase the time limit and memory limit

ini_set( 'memory_limit','2048M' );
ini_set( 'max_execution_time', 600 );

Other than that, there is really nothing else I can do.

thinkaboutit commented 8 years ago

Hi thanks for your prompt reply.

I have deactivated all plugins and now it works It has deleted 1200 revisions in a blink of an eye.

Thanks! have a nice day