-
Notifications
You must be signed in to change notification settings - Fork 324
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
scanner runs very slow / no status #3296
Comments
I have also seen bad performance for scanning large Maven projects recently, and we're planning to investigate these, as even with debug output sometimes nothing seem to happen for minutes. Meanwhile, can you try increasing the max heap size for ORT to something like 16 GB ( |
HI, We are also facing the same problem. Scanner takes lot of time. |
The scanner (i.e. ScanCode, by default) taking a lot of time is nothing ORT can change. However, we could probably try to do a better job at reporting progress (although you actually do get per package progress with In any case, you should set up a scan storage to benefit from existing scan results. Giving the ClearlyDefined scan storage a try is something you could do, for example. |
Thanks for the replay. We are not defining any storage backend, i guess this will default goes to filesystem. |
Correct. And this only speeds up the scanning for consecutive scans that involve mostly the same packages, as you're populating our file-based scan storage yourself.
The idea is that you either quickly build up some company-internal (Postgres-based) scan storage yourself to speed up future scans, or to use an existing public scan storage, like the one from ClearlyDefined as mentioned above. However, might be that we currently have an issue there. |
Thanks a lot for your help |
Closed as part of backlog grooming. Feel free to comment if you would like to contribute to this. |
Hi,
we are testing ORT at the moment to scan/analyze a maven project.
The scan runs very slow (> 1 day) and we don't see any state of the current execution. Is it possible to implement a "progress bar"?
Or is there a possibility to optimize the execution of the scan process?
Regards,
Frank
The text was updated successfully, but these errors were encountered: