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 #74

Closed
matheusrps opened this issue May 18, 2023 · 1 comment
Closed

Memory leak #74

matheusrps opened this issue May 18, 2023 · 1 comment

Comments

@matheusrps
Copy link

Is there any workaround for soffice.bin process to not leak memory? I've an api that converts pptx, I setup a flask server with gunicorn and 4 workers, all works fine except that soffice.bin just keeps using more and more memory, it starts about 1gb and after 4 hours its already consuming 2gb. Is there a way that it just kill this process and start over again after some time or some way to stop this leak?

@regebro
Copy link
Member

regebro commented May 24, 2023

From our perspective there is nothing we can do. When it comes to size, it will increase in size with larger documents, and it will not release that when that conversion is done, but it will then not increase further with small documents. So don't worry that it's using 2gb after an hour, that doesn't sound that much.

But restarting once every 24 hours is not uncommon. We make new software releases wich will restart the servers including Libreoffice typically once every night, and I think that's my the memory leaks doesn't affect us.

@regebro regebro closed this as completed Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants