I’m trying to parse an HTML file with simplehtmldom and I’m getting this error:
zend_mm_heap corrupted
after about 4 seconds of execution on a 8231 lines HTML file. Could this be a bug or just excessive memory usage?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is a bug that affects most PHP5.2 and above, and can (albeit not always consistently) affect any application that works with large numbers of objects, particularly when the server is heavily loaded; but does leave a “zend_mm_heap corrupted” message in the apache logs.
One possible solution is to add the line:
export USE_ZEND_ALLOC=0
to the apache envvars file