title: What will spark do if I don't have enough memory?
body: <p>I'm new to Spark, and I found the Documentation says Spark will will load data into memory to make the iteration algorithms faster.</p>
  
  <p>But what if I have a log file of 10GB and only have 2GB memory ? Will Spark load the log file into memory as always ?</p>