allocator::max_size

size_type max_size() const;

The member function returns the length of the longest sequence of elements of type T that an object of class allocator might be able to allocate.