inpsyde / wpml2mlp

Convert posts from an existing WPML multilingual site via WXR Export/Import for MultilingualPress
https://wordpress.org/plugins/wpml-to-multilingualpress/
GNU General Public License v2.0
10 stars 6 forks source link

Export: Memory leck on bigdata #33

Closed derpixler closed 8 years ago

derpixler commented 8 years ago

Fatal error: Maximum execution time of 30 seconds exceeded ...

If we have a lot of content at the source blog the execution needs more time we have.

refactor the export see https://stackoverflow.com/questions/3212982/need-to-write-xml-using-php-how and http://php.net/XMLWriter

dnaber-de commented 8 years ago

The XMLWriter won't reduce the execution time but probably the memory usage. It further might be possible that the writing process can be split to multiple processes and thus to more than one http request.

Anyway, we have to cancel the time limit with set_time_limit( 0 ).

derpixler commented 8 years ago

The leck is also open.