HI All,
We were having a CRM online V8.2 in which we have around 4 custom web application that are connecting to that CRM, the performance was great and the customer was satisfied.
Last month we were forced to upgrade the CRM to V9.1 and hence to upgrade the web applications to use the new nuget found here https://www.nuget.org/packages/Microsoft.CrmSdk.XrmTooling.CoreAssembly/
After using the new DLLs we face a nightmare issue, the web applications RAM, CPU and Traffic jump suddenly without any heavy traffic on those web applications and never come back to normal.
I realized something, that there was a memory leak issue on V8.2 that was fixed by an update as mentioned in the above URL and I'm afraid that this may the cause of the issue that we face now, did you face any issue like that lately with V9 ?
"
8.2.0.5:
Fix to memory leak in Microsoft.Xrm.Tooling.Connector.TraceLoggerBase. Trace Listener collection would not be released within a process over a very long time frame over multiple connections. This would manifest as increasing memory consumption over a very long period.
Fix cleans this up on the .dispose() call on the CrmServiceClient.
Note: if you have built your own logger based on the Microsoft.Xrm.Tooling.Connector.TraceLoggerBase, you must call .dispose() when you are done with it to clean up the listener collection assigned to it.
"