php - w3wp.exe memory usage remains high after making web service calls -
i have set 1 server php application , .asmx web service application.
my php application makes frequent calls web service functions inside .asmx file. in turn retrieve data database used in php application. here php code:
public function callservice($file, $web_service, $parameters){ if(defined("web_services_path")){ try{ $wsdl = web_services_path.$file."?wsdl"; $client = new soapclient ($wsdl, array('cache_wsdl' => wsdl_cache_none) ); $result = $client->{$web_service}($parameters)->{$web_service."result"}; return $result; } catch(exception $e){ //handle error } } }
i noticed in instances web service calls cause w3wp process chew lot of memory. in instances, process start of @ around 80,000kb grow around 800,000kb
furthermore, process seems linger @ around 800,000kb unless kill or restart iis.
i have 2 questions this. firstly, why memory not released after web service calls? , secondly, factors cause w3wp process chewing memory?
Comments
Post a Comment