do not set alloc number if 1

[SVN r85648]

(cherry picked from commit d906a952700493da046145c77a2f12b5d6791183)