Hi, >> Has anyone found a workaround for this problem? >Downgrade to 5.1.x is the only workaround I know off... no workaround that far. Even rewriting stuff using php native functions may be a huge challenge since the memory mgmt is very vital part of PHP. And it seems to be totally screwed up in 5.2 Cheers, Nikolas