Reduce maxsize of memory allocator