Wip rgw less alloc

rgw: remove some memory allocations.