My Apache log is chock full of errors like the following:
[client 85.206.49.74] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 12 bytes) in /home/meermanr/public_html/inc/utf8.php on line 119
This has prevented my site's RSS feed from working (it is a blank page after timing out).
Line 119 is the preg_match_all line of utf8_substr(). I have located an alternative utf8_substr() function which appears to provide the same functionality, but does not exceed my memory limitations:
http://www.geeklog.net/forum/viewtopic.php?forum=6&showtopic=60205
Due to the transient nature of the web, I shall repoduce this function below for you convenience:
function utf8_substr($str,$from,$len){
return preg_replace('#^(?:[\x00-\x7F]|[\xC0-\xFF][\x80-\xBF]+){0,'.$from.'}'. '((?:[\x00-\x7F]|[\xC0-\xFF][\x80-\xBF]+){0,'.$len.'}).*#s','$1',$str);
}
I hope this helps.