Build: Use reservedCodeCacheSizeMb in test process heap size calculation
#KTI-1609
This commit is contained in:
@@ -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