tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Limiting malloc to the low 2GB?



On Mon, Nov 28, 2022 at 23:22:08 +0000, RVP wrote:

> On Tue, 29 Nov 2022, Valery Ushakov wrote:
> 
> > Turns out you can use MALLOC_CONF="dss:primary" to make (the new)
> > jemalloc prefer sbrk(2).
> 
> Yes, I saw that, but, I wasn't sure if that setting meant a) always
> use sbrk() or b) prefer sbrk(), then, fall-back to mmap() (typically
> for very large allocations).

Me too :)  But that works for now.  Will need to RTFS.

-uwe


Home | Main Index | Thread Index | Old Index