Could you kindly implement a limitation on the amount being search/replaced? Because..
ErrorException: Fatal Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 5379376 bytes) internal_data/code_cache/templates/l1/s0/admin/xfpr_postreplace_index.php:81