lundi 5 octobre 2015

Fixing Memory Leaks in Wordpress (HHVM)

My server is running HHVM.

Everything is working almost fine, except on thing. Because of memory leaks the Translation Cache gets filled up, and once it is almost full the HHVM can not render the pages anymore so every user only would see a blank page instead of the article.

To prvent this from happening it is necessary that all create_function calls get replaced by anonymous functions. See (for more info): http://ift.tt/1jJNWRO and the docs of hhvm which also say to use anonymous functions: http://ift.tt/1VAxvmu

So my question now is how do I replace the create function calls which are made in the translation.php and the po.php with anonymous functions?

Best regards



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire