locked
Plugin Running progressivly slower on repeated calls... RRS feed

  • Question

  • Hi All

    We have a plugin that creates a entity on the creation of another entity.  We are running an import (using our own custom tool) of ~1000 of the parent entity. The performance of the plugin is deteriorating over the course of the import - from taking <1s to run at the start, it is upto over 15s by the end of the import process.

    The plugin does create instances of both the Crm and Metadata webservices from the context. The services are both created with "using (service x = new service){}" so that they are disposed properly.

    Running "iisreset" resolves the issue.

    Any thoughts gratefully recieved. 

    TIA

    Matt

     

    Tuesday, April 20, 2010 8:27 AM

Answers