Is there a limitation to the size of a vector of pointers? Earlier we were storing the objects in a vector. Due to memory problems (core dump), we changed the vector definition to store pointers to the objects instead of the objects themselves. However, the problem still reappears with very large population. The population is in the range of millions.