Switch from arrays to maps to preserve array length.

Change-Id: Ia2ab996232c4242766fd162b6cd91f237b224abb
Fixed the logic for missing values.

Change-Id: I824828b8b6e2a33781cd3705ae3121140de9eb37
Clear out the equivpairs every loop so the memory doesn't increase.

Change-Id: I441956a7c70a8d033a3a02248f20150a0734b906
Cleanup the events and deletes.

Change-Id: I30fd4833798d3bfff55a6382b170c5047c2b427b
Manage deletion of arrays more automatically.

Change-Id: I8bb0311400a2f5d5994519eff82b3503ad0135a5
Merge topic 'fix_fragment_large_scale' into next

85e41148 Manage deletion of arrays more automatically.
25a22530 Cleanup the events and deletes.
82eff63a Clear out the equivpairs every loop so the memory doesn't increase.
f44c3367 Fixed the logic for missing values.
c9207d9b Switch from arrays to maps to preserve array length.