setAdapter('Zend_Http_Client_Adapter_Test'); $httpClient->getAdapter()->addResponse( new Zend_Http_Response(200, array(), new Zend_XmlRpc_Response('OK')) ); $client = new Zend_XmlRpc_Client('http://localhost/', $httpClient); for($i = 8; $i > 0; $i--) { $client->call("test-$i", array('one', 'two')); echo "memory_usage " . memory_get_usage() . " bytes \n"; }