projects/aports·blob master · refs

27 lines · 820 B

1From 4d2ada29872460c1d4718763967a0bf059094590 Mon Sep 17 00:00:00 2001
2From: fossdd <[email protected]>
3Date: Sun, 13 Jul 2025 02:00:27 +0200
4Subject: [PATCH 2/2] no-malloc_trim
5
6Signed-off-by: fossdd <[email protected]>
7---
8 src/plugins/coreplugin/icore.cpp | 3 ---
9 1 file changed, 3 deletions(-)
10
11diff --git a/src/plugins/coreplugin/icore.cpp b/src/plugins/coreplugin/icore.cpp
12index e0c75926f32..bfb147c98c3 100644
13--- a/src/plugins/coreplugin/icore.cpp
14+++ b/src/plugins/coreplugin/icore.cpp
15@@ -1485,9 +1485,6 @@ void ICorePrivate::init()
16 using namespace std::chrono_literals;
17 m_trimTimer.setInterval(60s);
18 // glibc may not actually free memory in free().
19-#ifdef Q_OS_LINUX
20- connect(&m_trimTimer, &QTimer::timeout, this, [] { malloc_trim(0); });
21-#endif
22 }
23 }
24
25--
262.50.1
27