From 7e68f7976e4dfa4e1aa7801edff19a5dc4e67dfe Mon Sep 17 00:00:00 2001 From: KirillPamPam Date: Tue, 29 Jul 2025 12:11:09 +0400 Subject: [PATCH] More records (#694) --- src/main/kotlin/io/emeraldpay/dshackle/Starter.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/kotlin/io/emeraldpay/dshackle/Starter.kt b/src/main/kotlin/io/emeraldpay/dshackle/Starter.kt index 5ff00f5a..c87921fe 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/Starter.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/Starter.kt @@ -38,6 +38,8 @@ fun main(args: Array) { HeapDumpCreator.init() + System.setProperty("io.netty.leakDetection.targetRecords", "10"); + ResourceLeakDetector.setLevel(ResourceLeakDetector.Level.ADVANCED) val cores = Runtime.getRuntime().availableProcessors()