We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello, I am using colly to visit some websites and set c.IgnoreRobotsTxt = false.
c.IgnoreRobotsTxt = false
As it runs, you will observe that the memory continues to grow over a relatively long period of time.
This growth rate is difficult to observe by using pprof.
As a control experiment, I set up a set of colly with the same configuration, the only difference was setting c.IgnoreRobotsTxt = true.
c.IgnoreRobotsTxt = true
After running for a period of time, the memory of the latter continues to be stable within 1G, but the memory of the former continues to increase.
I can't find any other way to reset this robotsMap if c.IgnoreRobotsTxt = false is set other than reinitializing via colly.NewCollector()
colly.NewCollector()
The text was updated successfully, but these errors were encountered:
I can raise a PR to set the size or other limits of robotsMap to avoid continuous increase in memory.
Sorry, something went wrong.
No branches or pull requests
Hello, I am using colly to visit some websites and set
c.IgnoreRobotsTxt = false
.As it runs, you will observe that the memory continues to grow over a relatively long period of time.
This growth rate is difficult to observe by using pprof.
As a control experiment, I set up a set of colly with the same configuration, the only difference was setting
c.IgnoreRobotsTxt = true
.After running for a period of time, the memory of the latter continues to be stable within 1G, but the memory of the former continues to increase.
I can't find any other way to reset this robotsMap if
c.IgnoreRobotsTxt = false
is set other than reinitializing viacolly.NewCollector()
The text was updated successfully, but these errors were encountered: