summaryrefslogtreecommitdiff
path: root/arena-malloc.c
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2024-08-03 15:21:59 +0300
committerOxore <oxore@protonmail.com>2024-08-03 15:21:59 +0300
commit8c94fbe94502eecf2f2c2b960642c6e09c9106a3 (patch)
treed46bb6fbcb01ca4fda443c1c495ee592bb7e2635 /arena-malloc.c
parent466ffe67cec1f2c460eea28a779a86cc659ddc24 (diff)
Reduce initial buffer sizeHEADmaster
Diffstat (limited to 'arena-malloc.c')
-rw-r--r--arena-malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arena-malloc.c b/arena-malloc.c
index 4246047..be97fb8 100644
--- a/arena-malloc.c
+++ b/arena-malloc.c
@@ -13,7 +13,7 @@ struct arena {
void arena_create(struct arena *arena)
{
- unsigned long const init_size = 10ul * 1024ul * 1024ul;
+ unsigned long const init_size = 4ul * 1024ul;
*arena = (struct arena){
.buffer = malloc(init_size),
.size = init_size,