get_array_mem_size() prefers capacity to len (#969)

Co-authored-by: lihao29 <lihao29@kuaishou.com>