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

Memory leak in SIL.DictionaryServices.Lift.LiftWriter #880

Open
johnthagen opened this issue Dec 18, 2020 · 1 comment
Open

Memory leak in SIL.DictionaryServices.Lift.LiftWriter #880

johnthagen opened this issue Dec 18, 2020 · 1 comment

Comments

@johnthagen
Copy link
Collaborator

johnthagen commented Dec 18, 2020

Our usage of <PackageReference Include="SIL.DictionaryServices" Version="7.0.0-alpha0822"> SIL.DictionaryServices.Lift.LiftWriter leaks memory each time a project is exported (~2-10MB?). This seems to leak logarithmically, as in, if you export the same project over and over it leaks less memory each time. It's unclear what can be done. It may require upstream fixes.

Related to #811, follow on to #688

@imnasnainaec
Copy link
Collaborator

imnasnainaec commented Oct 5, 2023

Following #688 (comment)...

Locally running in Docker/Kubernetes at bb8d5b6.
Created a project with import https://github.com/sillsdev/TheCombine/blob/master/Backend.Tests/Assets/Natqgu.zip (11570 entries, no audio).
Measurements below are backend container memory usage as reported by docker stats.

After login:

  • 70MB

After creating project with (2.3 MB) import:

  • 306MB

After each of 10 successive (1.4MB) exports:

  • 505MB
  • 948MB
  • 1.124GB
  • 1.167GB
  • 1.524GB
  • 1.639GB
  • 1.665GB
  • 1.755GB
  • 2.033GB
  • 2.034GB

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

No branches or pull requests

2 participants