[Bug 281471] ASLR: jemalloc RES memory keeps on increasing until process cores
Date: Sat, 15 Feb 2025 03:48:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281471
Rupesh Pilania <rupeshpilania@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Version|13.4-RELEASE |13.5-RELEASE
--- Comment #13 from Rupesh Pilania <rupeshpilania@gmail.com> ---
Issue exists in 13.5 as well.
root@:/home/rpilania/test # uname -a
FreeBSD 13.5-BETA1 FreeBSD 13.5-BETA1 releng/13.5-n259127-a8f9845e39e2 GENERIC
amd64
root@:/home/rpilania # setenv MALLOC_CONF
"xmalloc:true,dirty_decay_ms:0,retain:false"
root@:/home/rpilania # cd test/
root@:/home/rpilania/test # ./mem-fragment
Hello! This program will fragment its process heap. Run top -p 878 to follow
along!
Press Enter to continue...
Swap: 1024M Total, 1024M Free
PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND
878 root 1 20 0 10M 2080K ttyin 0:00 0.00% mem-fragment
500k 5KB chunks were just provisioned
Press Enter to continue...
PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND
878 root 1 52 0 4898M 3035M ttyin 1:38 0.00% mem-fragment
500k 5KB chunks were just provisioned
Press Enter to continue...
PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND
878 root 1 52 0 9816M 6065M ttyin 3:16 0.00% mem-fragment
The first allocations were just free()'d.
Press Enter to continue...
PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND
878 root 1 37 0 7266M 3542M ttyin 3:17 0.00% mem-fragment
The 2nd allocations were just free()'d.
Press Enter to continue...
PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND
878 root 1 36 0 4716M 1019M ttyin 3:19 0.00% mem-fragment
--
You are receiving this mail because:
You are the assignee for the bug.