Skip to content

Updating scancode timeout to ignore large files#805

Open
yashkohli88 wants to merge 1 commit into
clearlydefined:masterfrom
yashkohli88:yk/update-scancode-timeout
Open

Updating scancode timeout to ignore large files#805
yashkohli88 wants to merge 1 commit into
clearlydefined:masterfrom
yashkohli88:yk/update-scancode-timeout

Conversation

@yashkohli88

@yashkohli88 yashkohli88 commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Addressing the #798

Description:
The ScanCode tool is failing to trigger for the following coordinate as it contains huge binary files of size greater than 50 MB. The memory consumption spikes when these files are computed by scancode and eventually no results are available for the entire package because of the SIGKILL event.

Coordinate:
git/github/airlift/aircompressor/e139a31be059855a5a70f6994a4ecaa0adbbea7a

Solution Implemented:
Reducing timeout from 1000 to 120 seconds as per discussion with @pombredanne in developer's community meeting to ignore large binary files consuming huge memory.

Testing Completed:

  • Integration test suite completed with new timeout
  • Scancode results are available for this coordinate with max memory usage upto 7.5GB

@yashkohli88 yashkohli88 marked this pull request as ready for review June 24, 2026 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants