mem labelling fixes.
fixed bad alloc when generating gigabits.