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 about this library #12

Open
bbqaaq opened this issue Oct 15, 2018 · 0 comments
Open

Memory leak about this library #12

bbqaaq opened this issue Oct 15, 2018 · 0 comments

Comments

@bbqaaq
Copy link

bbqaaq commented Oct 15, 2018

I have a long lasting server that keep on generating pdf/png from svg using this library.
However, that server need to be restarted after a few weeks usage, due to memory leakage.

After a few days of researching, the memory leakage's root causing library is from this library.
With a few hours time I try to figure out why memory is leaked from this library, but I have to apologize that I am not good at C++ so I gave up.

Now I have change the svg->png/pdf job using puppeteer which is a great library from google's team, in replace of rsvg to do me the favour. I can say rsvg is a good library, but helplessly I need to switch to other library at this moment. Indeed rsvg use less memory at first compared with puppeteer. I really hope if someone can fix it later.

For someone who wanna use this library: If you can fix it or you don't need to run this rsvg for hundreds of times, just use it. Otherwise, use puppeteer to do the job.

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

1 participant