<p></p>
<p>Tracing linux glibc memory_arena_new calls via</p>
<pre><code>sudo bpftrace -e 'usdt:/proc/<PID>/root/lib/x86_64-linux-gnu/libc-2.27.so:libc:memory_arena_new { printf("PID %d: created new arena at %p, size %d\n", pid, arg0, arg1); }'
</code></pre>
<p>is showing Bisq  malloc() calls creating 20 new arenas between startup (with emtpy data.dir) and the time the BlockParser is done.</p>
<p>When I started Bisq after setting</p>
<pre><code>export MALLOC_ARENA_MAX=4
export MALLOC_MMAP_THRESHOLD_=131072
</code></pre>
<p>the same trace shows Bisq is does not create any new arenas during the same interval; it is using existing arenas.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/issues/3918#issuecomment-601895391">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNS6WSGYWDNEK5J3BF3RIPGLLANCNFSM4KMC7HZA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNUDOLHPM3MU6KWDL4LRIPGLLA5CNFSM4KMC7HZKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEPQDDXY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/issues/3918#issuecomment-601895391",
"url": "https://github.com/bisq-network/bisq/issues/3918#issuecomment-601895391",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>