On Fri, Feb 07, 2025 at 03:37:31AM +0100, Christian Schulte wrote:
> Hi @misc,
>
> does OpenBSD provide something equivalent to Linux' malloc_trim(3)[1]? I
> am yet to port an application from Linux to OpenBSD and that application
> is making use of malloc_trim(3). I removed the calls to malloc_trim(3)
> --
> Christian
>
Obvious question but: did you try just running it on OpenBSD?
"We didn't bother releasing the memory you freed because you might want
memory again" sounds like a Linux being stupid thing.