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

[BUG] Unbounded memory usage when scanning many URLs in a pipeline #84

Open
dkasak opened this issue Oct 22, 2022 · 0 comments
Open

[BUG] Unbounded memory usage when scanning many URLs in a pipeline #84

dkasak opened this issue Oct 22, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@dkasak
Copy link

dkasak commented Oct 22, 2022

Describe the bug

When scanning many URLs in a pipeline, galer's memory usage will increase without bounds. This is likely because galer is starting a separate browser for each URL.

Instead, chromedp.Run should be run only once per run and then simply navigated to other URLs, as described in this comment/issue: chromedp/chromedp#454 (comment).

To Reproduce

galer <long_list_of_urls.txt

Expected behavior

Memory usage should not increase uncontrollably but should remain relatively constant.

Environment (please complete the following information):

  • OS: Linux
  • OS version: Linux REMOVED 6.0.2-zen1-1-zen [FEATURE] Set extra HTTP headers #1 ZEN SMP PREEMPT_DYNAMIC Sat, 15 Oct 2022 14:00:51 +0000 x86_64 GNU/Linux
  • galer version: v0.0.2
@dkasak dkasak added the bug Something isn't working label Oct 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants