Build: Use reservedCodeCacheSizeMb in test process heap size calculation
#KTI-1609
This commit is contained in:
committed by
Space Team
parent
93e8b18cde
commit
c3ab87f52b
@@ -224,7 +224,7 @@ fun Project.projectTest(
|
||||
else
|
||||
defaultMaxMemoryPerTestWorkerMb
|
||||
|
||||
maxHeapSize = "${maxHeapSizeMb ?: (memoryPerTestProcessMb - maxMetaspaceSizeMb)}m"
|
||||
maxHeapSize = "${maxHeapSizeMb ?: (memoryPerTestProcessMb - maxMetaspaceSizeMb - reservedCodeCacheSizeMb)}m"
|
||||
usesService(concurrencyLimitService)
|
||||
|
||||
if (minHeapSizeMb != null) {
|
||||
|
||||
Reference in New Issue
Block a user