Skip to content

Commit 360d647

Browse files
authored
Merge pull request #39 from dependency-check/develop
JAVA_OPTS
2 parents 9e2a7ad + f290694 commit 360d647

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Tasks/dependency-check-build-task/dependency-check-build-task.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,9 @@ try {
155155
Write-Host -Verbose "Path: $depCheckPath"
156156
Write-Host -Verbose "Arguments: $arguments"
157157

158+
# Set Java args
159+
$env:JAVA_OPTS="-Xss8192k"
160+
158161
# Run the scan
159162
$exitcode = (Start-Process -FilePath $depCheckPath -ArgumentList $arguments -PassThru -Wait -NoNewWindow).ExitCode
160163
Write-Host -Verbose "Dependency Check completed with exit code $exitcode."

0 commit comments

Comments
 (0)