Skip to content

Commit 1f9ea78

Browse files
committed
Merge remote-tracking branch 'origin/ad_real_mem_usage' into ad_real_mem_usage
2 parents 5d8f06b + b490a5d commit 1f9ea78

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/job/persistence/JobResultsProvider.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1592,9 +1592,7 @@ void calculateEstablishedMemoryUsage(
15921592
}
15931593
case SYSTEM_MEMORY_BYTES -> {
15941594
Long storedSystemMemoryBytes = latestModelSizeStats.getSystemMemoryBytes();
1595-
handler.accept(
1596-
(storedSystemMemoryBytes != null) ? storedSystemMemoryBytes : latestModelSizeStats.getModelBytes()
1597-
);
1595+
handler.accept((storedSystemMemoryBytes != null) ? storedSystemMemoryBytes : latestModelSizeStats.getModelBytes());
15981596
return;
15991597
}
16001598
case MAX_SYSTEM_MEMORY_BYTES -> {

0 commit comments

Comments
 (0)