accidentally allocating far too much memory in pbm.