Changed operation to compress the objects which really seems to reduce
memory.