[Development] QtCS 2017 QtCore sessions
Thiago Macieira
thiago.macieira at intel.com
Wed Nov 1 16:25:03 CET 2017
On quarta-feira, 1 de novembro de 2017 08:21:10 PDT Thiago Macieira wrote:
> "Won't that limit the actual maximum size?"
>
> No, not really, since it's already limited to half the full VM space. No
> object can be larger than that. Using unsigned is unnecessary.
Huh... on second thought, this limit applies to std::vector, but not to other
types, since they don't have a single memory block.
That said, if you are using more than 2 GB in a container on a 32-bit system,
you deserve the OOM conditions. Please upgrade to a 64-bit processor. They're
only 10 years old now.
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
More information about the Development
mailing list