Force.com-Toolkit-for-NET
Force.com-Toolkit-for-NET copied to clipboard
XmlSerializer Memory Leak Fix
…he XmlSerializer causes a serious memory leak if you do not use the two contructors mentioned here.
https://support.microsoft.com/en-us/help/886385/memory-usage-is-high-when-you-create-several-xmlserializer-objects-in-asp-net
From my testing this change also bumps performance atleast 2 fold with repetitive bulk saves
Thanks for the contribution! Before we can merge this, we need @nrubino to sign the Salesforce Contributor License Agreement.
Great job! This took my 100k bulk upload from 20 mins down to just under 3 mins. Memory usage went from 6GB down to normal 1GB. Amazing! Well done.
Are we going to be able to get this merged? This PR has been out there for a bit.
Thanks!
Are we going to be able to get this merged? This PR has been out there for a bit.
Thanks!
Do I need to do something?
@nrubino seems you need to re-merge master into your topic branch, resolve any conflicts and push back up.
Looks like some stuff still might need to be done before this can be pulled in.
This was a huge help, thank you!