-
Notifications
You must be signed in to change notification settings - Fork 468
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
fix: chromium memory leaks #705
Conversation
Codecov Report
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. @@ Coverage Diff @@
## main #705 +/- ##
==========================================
+ Coverage 93.24% 93.42% +0.17%
==========================================
Files 36 40 +4
Lines 3138 3268 +130
==========================================
+ Hits 2926 3053 +127
- Misses 135 137 +2
- Partials 77 78 +1
... and 1 file with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@petternordlanderhelo @JulienWeintraub Image It will not solve the memory leaks on Chromium side, but at least it’s mitigated in Gotenberg. Also, faster unitary conversion. |
4924d95
to
6a1c430
Compare
6a1c430
to
41cd16e
Compare
This version is currently running (smoothly) on the demo instance. I'm going to merge this PR, but feel free to keep me informed if you notice anything 😉 |
Thanks @gulien for the job ! |
Thanks @JulienWeintraub! There is also now a |
Close #642.
Flags
New:
--chromium-restart-after
- Number of conversions after which Chromium will automatically restart. Set to 0 to disable this feature (default 0).--chromium-auto-start
- Automatically launch Chromium upon initialization if set to true; otherwise, Chromium will start at the time of the first conversion (default false).--chromium-start-timeout
- Maximum duration to wait for Chromium to start or restart (default 10s).Deprecated flag:
chromium-failed-starts-threshold
Metrics
New:
chromium_requests_queue_size
- Current number of Chromium conversion requests waiting to be treated.chromium_restarts_count
- Current number of Chromium restarts.Deprecated:
chromium_active_instances_count
chromium_failed_starts_count