clear unigrams memo map before loading bigrams, reduces peak heap usage