From 23b447c11132cf54ef5db74a5c94aea17c4566ee Mon Sep 17 00:00:00 2001 From: Squeaky Date: Mon, 28 Oct 2024 10:54:56 +0100 Subject: [PATCH] Remove trim from malloc_stats #notests --- bin/inbox-start.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/bin/inbox-start.py b/bin/inbox-start.py index a41e513fb..f507eced8 100755 --- a/bin/inbox-start.py +++ b/bin/inbox-start.py @@ -212,14 +212,9 @@ class MallInfo(ctypes.Structure): mallinfo.argtypes = [] mallinfo.restype = MallInfo -malloc_trim = libc.malloc_trim -malloc_trim.argtypes = [ctypes.c_size_t] -malloc_trim.restype = ctypes.c_int - def malloc_stats(): while True: - libc.malloc_trim(0) libc.malloc_stats() info = mallinfo() fields = [(name, getattr(info, name)) for name, _ in info._fields_]