Lets Aggregator sub-classes get the memory allocator acquired by the base class and its params.
allocator
params
Unref the allocator after use it.
a Aggregator
the Allocator used
the AllocationParams of allocator