Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XmlSerializer Memory Leak Fix #255

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

nrubino
Copy link

@nrubino nrubino commented May 23, 2017

…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

…e 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
@salesforce-cla
Copy link

Thanks for the contribution! Before we can merge this, we need @nrubino to sign the Salesforce Contributor License Agreement.

@mjames15
Copy link

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.

@wh1337
Copy link

wh1337 commented Jul 24, 2019

Are we going to be able to get this merged? This PR has been out there for a bit.

Thanks!

@nrubino
Copy link
Author

nrubino commented Jul 25, 2019

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?

@marknadig
Copy link
Contributor

@nrubino seems you need to re-merge master into your topic branch, resolve any conflicts and push back up.

@bafadam
Copy link

bafadam commented Aug 25, 2020

Looks like some stuff still might need to be done before this can be pulled in.

@CodeOfDavid
Copy link

CodeOfDavid commented Dec 14, 2021

This was a huge help, thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants