Fixes gh-378 "assertion failed"
Do not align maxalloc (the limit on the amount of memory used by the allocator), it's not necessary. Make an effort to correctly align large (for 32 bit) prealloc values (like, a few gigs).
Showing
- src/lib/small/slab_arena.c 11 additions, 14 deletionssrc/lib/small/slab_arena.c
- src/lib/small/slab_arena.h 11 additions, 3 deletionssrc/lib/small/slab_arena.h
- test/unit/slab_arena.result 6 additions, 6 deletionstest/unit/slab_arena.result
- test/wal/oom.result 6 additions, 6 deletionstest/wal/oom.result
Loading
Please register or sign in to comment