title: Python, running into memory error when parsing a 30MB file(already downloaded into my local computer)
body: <p>Here is my download address, the file name is 'kosarak'      </p>
  
  <pre><code>http://fimi.uantwerpen.be/data/
  </code></pre>
  
  <p>My parsing code is:</p>
  
  <pre><code>parsedDat = [line.split() for line in open('kosarak.dat').readlines()]
  </code></pre>
  
  <p>I need this data as a whole to run some method on it, so read one line by one line and do the operation on each line is not fit for me here.</p>
  
  <p>The file is only 30 MB and my computer has at least 10G memory left and 30+G Hard drive place,So I guess there shouldn't be any resource problem</p>
  
  <p>FYI: My python version is 2.7 and I am running my python inside Spyder. My OS is windows 10.</p>
  
  <p>PS: You don't need to use my parsing code/method to do the job,as long as you could get the data from file to my python environment that would be perfect.</p>