pySpark is not picking up 'sc'

sc is not picking up by pyspark on Big data labs so i’m not able to proceed further.

when trying to run Spark-Shell, i get below issue

There is insufficient memory for the Java Runtime Environment to continue.