add malloc_trim(0) to GC loop — diagnostic for RSS fragmentation
calls malloc_trim(0) every 10 minutes to ask glibc to return free
pages to the OS. if RSS drops after each trim, the linear growth is
malloc fragmentation rather than a true leak.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>