Skip to content

Commit f290694

Browse files
authored
Merge pull request #38 from dependency-check/hotfix/memory-java-opts
Issue #37: Set JAVA_OPTS memory bump.
2 parents 882c71d + cafc21f commit f290694

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)