php - Symfony Task Unexpected Memory -


i using symfony task php5.2. here portion of code:

array of images

foreach($array $k=>$v) {     abc(); // function call cope images 1 server            // using file_get_content in php variable , using api(wso).     echo memory_get_usage(); } 

problem memory_get_usage(); returning same value when using top command memory increasing nonstop.

is there bug in symfony task or php5.2 or wso.

have tried memory_get_usage(true)?

also, have considered might not php using memory? other library using?


Comments