title: Is there a spark-defaults.conf when installed with pip install pyspark
body: <p>I installed <code>pyspark</code> with <code>pip</code>.
  I code in <code>jupyter</code> notebooks. Everything works fine but not I got a <code>java</code> heap space error when exporting a large <code>.csv</code> file.
  <a href="https://stackoverflow.com/questions/32336915/pyspark-java-lang-outofmemoryerror-java-heap-space">Here</a> someone suggested editing the <code>spark-defaults.config</code>. Also in the spark documentation, it says </p>
  
  <blockquote>
    <p>"Note: In client mode, this config must not be set through the
    SparkConf directly in your application, because the driver JVM has
    already started at that point. Instead, please set this through the
    --driver-memory command line option or in your default properties file."</p>
  </blockquote>
  
  <p>But I'm afraid there is no such file when installing <code>pyspark</code> with <code>pip</code>.
  I'm I right? How do I solve this?</p>
  
  <p>Thanks!</p>