I increased the memory size to 1G but still getting the same error. It started happening after I updated to the latest version.
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 717640 bytes) in …../wp-includes/functions.php on line 434