Is it possible to assign value larger than (2**31 - 1) to array size of new[] operator in dynamic array

In reply to thienle:

Typically tools will have some limitations to prevent the user from causing issues by using all of the system memory.

Do you really want a dynamic array of 2 Billion bytes? The storage required for this will be very large and the performance will be extremely poor. You cannot effectively use an array of this size.