freeing buffers after allocation new memory and writing meta information...

Those allocations cause to bug memory consumption. Those buffers were not released by GC. Until new gc in 1.4 this nil assignment is mandatory for big data structures.