Skip to content

Implement daemon auto-shutdown memory threshold#5753

Open
tcmulcahy wants to merge 1 commit intoJetBrains:masterfrom
tcmulcahy:tcmulcahy/autoshutdown-on-memory-threshold
Open

Implement daemon auto-shutdown memory threshold#5753
tcmulcahy wants to merge 1 commit intoJetBrains:masterfrom
tcmulcahy:tcmulcahy/autoshutdown-on-memory-threshold

Conversation

@tcmulcahy
Copy link

The autoshutdownMemoryThreshold parameter was introduced in 7ab2208 but never wired up. This PR wires it up and adds a test to verify it's working.

KT-85054 Fixed.

Verified with :kotlin-daemon-tests:test for CompilerDaemonTest.testDaemonOptionsParsing and CompilerDaemonTest.testDaemonAutoshutdownOnMemoryThreshold.

Use autoshutdownMemoryThreshold in periodic daemon checks and trigger
graceful shutdown when used heap exceeds the configured threshold.

KT-85054 Fixed.

Verified with :kotlin-daemon-tests:test for
CompilerDaemonTest.testDaemonOptionsParsing and
CompilerDaemonTest.testDaemonAutoshutdownOnMemoryThreshold.
@kotlin-safe-merge
Copy link

Code Owners

Rule Owners Approval
/​compiler/​daemon/​ build-tools-api, kotlin-build-tools

@shaikhakramshakil
Copy link

can i work on this issue ?

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