title: Dot product of huge arrays in numpy
body: <p>I have a huge array and I want to calculate dot product with a small array. But I am getting 'array is too big' Is there a work around?</p>
  
  <pre><code>import numpy as np
  
  eMatrix = np.random.random_integers(low=0,high=100,size=(20000000,50))
  pMatrix = np.random.random_integers(low=0,high=10,size=(50,50))
  
  a = np.dot(eMatrix,pMatrix)
  
  Error:
  /Library/Python/2.7/site-packages/numpy/random/mtrand.so in mtrand.RandomState.random_integers (numpy/random/mtrand/mtrand.c:9385)()
  
  /Library/Python/2.7/site-packages/numpy/random/mtrand.so in mtrand.RandomState.randint (numpy/random/mtrand/mtrand.c:7051)()
  
  ValueError: array is too big.
  </code></pre>