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?
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?
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