Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 2024 09:07:56 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 281471] ASLR: jemalloc RES memory keeps on increasing until process cores
Message-ID:  <bug-281471-227-vn6hzZbmzr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-281471-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-281471-227-vn6hzZbmzr>