failed to allocate maxcell