title: Allocate several GBs of memory for std::vector
body: <p>I need to acquire several GB of data from a sensor. When I tried to allocate a big array with malloc  (10 or more GB. My system has 32GB) it returns NULL. So I thought the problem could be solved with a linked list of iterators to vectors.</p>
  
  <p>However I don't know how to set this up. I tried declaring "
  list&lt; vector::iterator >" but I can't allocate the memory for each vector (e/o should have 1000~2000 elements). Do you know any way to do this or maybe a better solution for this big memory allocation? </p>