Release memory while adding posts programatically
-
I am trying to add almost 100,000 posts programatically to WP about once a day. This is working pretty well, but the process usually crashes with a PHP out of memory exception. I think WP is not releasing all the Post objects it creates.
Is there a way to force this? Is there a way to unload and reload the entire WP environment periodically to force WP to release all its data structures?
I am somewhat new to using WP like this, can anyone think of any other reason why this might be a bad idea?
Thanks
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Release memory while adding posts programatically’ is closed to new replies.