[Bug 281471] ASLR: jemalloc RES memory keeps on increasing until process cores
Date: Sat, 14 Sep 2024 09:07:56 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281471 --- Comment #9 from Rupesh Pilania <rupeshpilania@gmail.com> --- Issue exists in 13.4 as well. FreeBSD rupesh2 13.4-RC3 FreeBSD 13.4-RC3 releng/13.4-n258255-087b246271b6 GENERIC amd64 root@rupesh2:/home/rpilania # setenv MALLOC_CONF "xmalloc:true,dirty_decay_ms:0,retain:false" root@rupesh2:/home/rpilania # ./mem-fragment Hello! This program will fragment its process heap. Run top -p 1027 to follow along! Press Enter to continue... PID USERNAME THR PRI NICE SIZE RES STATE C TIME WC 1027 root 1 20 0 10M 2100K ttyin 2 0:00 0.0 500k 5KB chunks were just provisioned Press Enter to continue... PID USERNAME THR PRI NICE SIZE RES STATE C TIME WC 1027 root 1 28 0 4898M 3034M ttyin 2 0:01 0.0 500k 5KB chunks were just provisioned Press Enter to continue... PID USERNAME THR PRI NICE SIZE RES STATE C TIME WC 1027 root 1 27 0 9816M 5191M ttyin 2 0:02 0.0 The first allocations were just free()'d. Press Enter to continue... PID USERNAME THR PRI NICE SIZE RES STATE C TIME WC 1027 root 1 30 0 7266M 3541M ttyin 3 0:03 0.0 The 2nd allocations were just free()'d. Press Enter to continue... PID USERNAME THR PRI NICE SIZE RES STATE C TIME WC 1027 root 1 23 0 4716M 1018M ttyin 3 0:03 0.0 -- You are receiving this mail because: You are the assignee for the bug.