-
mechanik20051988 authored
Slab allocator, which is used for tuples allocation, has a certain disadvantage - it tends to unresolvable fragmentation on certain workloads (size migration). In this case user should be able to choose other allocator. System allocator based on malloc function, but restricted by the same qouta as slab allocator. System allocator does not alloc all memory at start, istead, it allocate memory as needed, checking that quota is not exceeded. Part of #5419
mechanik20051988 authoredSlab allocator, which is used for tuples allocation, has a certain disadvantage - it tends to unresolvable fragmentation on certain workloads (size migration). In this case user should be able to choose other allocator. System allocator based on malloc function, but restricted by the same qouta as slab allocator. System allocator does not alloc all memory at start, istead, it allocate memory as needed, checking that quota is not exceeded. Part of #5419