# Bro and jemalloc

**URL:** https://community.zeek.org/t/bro-and-jemalloc/3730
**Category:** Zeek
**Created:** [July 23, 2015, 3:53pm UTC](https://community.zeek.org/t/bro-and-jemalloc/3730 "2015-07-23T15:53:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Vito\_Logrillo](https://avatars.discourse-cdn.com/v4/letter/v/e9bcb4/32.png) [@Vito\_Logrillo](https://community.zeek.org/u/Vito_Logrillo)
#### Post date: [July 23, 2015, 3:53pm UTC](https://community.zeek.org/t/bro-and-jemalloc/3730/1 "2015-07-23T15:53:19Z")

</div>

Hi All,  
i wanted to test Bro with jemalloc so i've installed the latest  
version using the following commands:

git clone --recursive git://git.bro.org/bro  
./configure --enable-jemalloc  
make  
make install

Some days later, during a check, i've found this report using the  
command broctl diag

1437065570.594985 processing suspended  
1437065570.594985 processing continued  
src/central\_freelist.cc:322] tcmalloc: allocation failed 16384  
out of memory in new.  
1437472834.896416 fatal error: out of memory in new.

I think that this error is due to the hardware (the testing server has  
only 4GB of RAM), but i don't understand why Bro is using tcmalloc and  
not jemalloc.  
I've made a mistake during the compilation phase?  
Thanks,  
Vito

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)
#### Post date: [May 6, 2022, 3:42pm UTC](https://community.zeek.org/t/bro-and-jemalloc/3730/2 "2022-05-06T15:42:54Z")

</div>


