Set count and capacity *after* the heaps have been allocated. When setting before, the free pointer of the heap is set to *way* beyond the size of the heap which may cause out-of-bounds errors during the call to BBPreleaseref.
Set count and capacity *after* the heaps have been allocated.
When setting before, the free pointer of the heap is set to *way*
beyond the size of the heap which may cause out-of-bounds errors
during the call to BBPreleaseref.

zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb,zyzyis/monetdb