title: How to find out the amount of memory pyspark has from iPython interface?
body: <p>I launched with the command </p>
  
  <pre><code>IPYTHON=1 MASTER=local[4] pyspark
  </code></pre>
  
  <p>Spark greets me with </p>
  
  <pre><code>Welcome to spark, version 1.2.1
  SparkContext availabel as sc. 
  </code></pre>
  
  <p>But using sc, I am not able to find the memory it has. How to find this out, and if possible how to set it to another value as well. </p>