-
Notifications
You must be signed in to change notification settings - Fork 52
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
Kills Linux System Memory Runaway #20
Comments
Linkcheck is regularly run on Travis (Linux) with every PR/commit submitted to GitHub for the two main Dart sites: site-www and site-webdev. For example, see https://travis-ci.org/dart-lang/site-www/jobs/424578417. I haven't seen linkcheck crash under Linux or MacOS before. It might be an issue with the SDK under Linux Mint, you might want to take a look at the open issues. |
@chalin thanks for the info. Holy smokes there's a lot of open issues (over 4K) for the Dart dependency relative to the number of people following it (2394). Has the team considered moving away from Dart to improve control over the user experience? |
Many of those issues are quite old. Dart is alive and well not only for the web, but also mobile ... but that is a topic for another forum. I'll close this for now. Feel free to reopen if you can in point the issue to linkcheck. |
Thanks for the report! Can you share the site so we can try to reproduce?
Hmm, the # of open issues on Dart is just a function of the complexity of that project. Compare with Go, Rust, Scala, Kotlin. Not sure how the number of stars plays a role here. Dart is definitely not as popular as these other languages. If the ratio of stars to open issues is an indication of anything, then projects like React Native (68326 stars vs 685 issues) and AngularJS 1 (59030 vs 408) are absolute gems — we should all drop every other alternative and use only them. :) |
Tried linkcheck out on my system:
Operating System: Linux Mint 19
Kernel: Linux 4.15.0-33-generic
Architecture: x86-64
4 GHz i5-8300H
15GB RAM
Dart VM version: 2.0.0
Pub 2.0.0
linkcheck version 2.0.4
Both times I tried it, it crashed my system. Both times was to try and find all dead links on a company website. When i ran
linkcheck <privateURL>
system resources were at 3GB RAM with Load of less than 0.5. After about 700 links my CPU fans were going nuts and RAM was at 10GB in use. By 1200 links, RAM was maxed out at 15GB with an additional 2.5GB of SWAP. By 2193 links RAM still maxed out and SWAP was at 5.25GB and then whole system locked up. UI stopped responding and I could not do anything. I waited 8 minuets the last time after UI lock up before hard shutdown.Has anybody tested this on a Linux system?
The text was updated successfully, but these errors were encountered: