Personally from what I'm seeing, the comment in the report that this is just how PHP memory management works is incorrect. Calls to socket_read() in PHP 5.2.6 under Ubuntu 8.10 causes the process to grow without bounds.

Running it:

Running it will produce a constantly growing server process.

MEMORY USAGE BEFORE READ IS '61324'MEMORY USAGE AFTER READ IS '61728'MEMORY USAGE BEFORE READ IS '61788'MEMORY USAGE AFTER READ IS '61924'MEMORY USAGE BEFORE READ IS '61924'MEMORY USAGE AFTER READ IS '61956'MEMORY USAGE BEFORE READ IS '61956'MEMORY USAGE AFTER READ IS '61988'MEMORY USAGE BEFORE READ IS '61988'MEMORY USAGE AFTER READ IS '62020'