-
Notifications
You must be signed in to change notification settings - Fork 326
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
Analyzer creates extremely large result for GoMod project and creates issues during scanning phase #3860
Comments
Probably one cause is that we haven't ported the Go-analyzers to the new dependency graph format yet, also see #3825. |
As a side note, please be aware that GoMod support is still marked as experimental "as only proxy-based source artifacts but no VCS locations are supported". |
I've recently did a larger re-work of ORT's GoMod support which affected the reported dependency tree. So, I re-tested this bug with:
This took less than two minutes to execute and produced a result of size 0.16MB without any analyzer issues. So, the issue is fixed and this ticket can be closed as fixed. |
I am currently running an Analyze on this repo. In addition to taking over 10 minutes, the result is approx 10GB in size. The entire project is about 300mb, so this seems a bit too large.
When running Scan on the results, it will take between 30-40 min before it will eventually result in
java.lang.OutOfMemoryError: Java heap space
. This process has been confirmed on several machines.ort analyze -i ../path-my-project -o ../path-to-output -m GoMod
ort scan -i ../output/analyzer-result.yml -o ../output --skip-excluded
The text was updated successfully, but these errors were encountered: