I'm trying to run a Python script with the pyspark library.
I create a SparkConf() object using the following commands:
conf = SparkConf().setAppName('test').setMaster(<spark-URL>)
When I run the script, that line runs into an error:
Picked up _JAVA_OPTIONS: -Xmx128m
Picked up _JAVA_OPTIONS: -Xmx128m
Error occurred during initialization of VM Initial heap size set to a larger value than the maximum heap size.
I tried to fix the problem by setting the configuration property spark.driver.memory to various values, but nothing changed.
What is the problem and how can I fix it?
Thanks
spark.driver.memoryandspark.executor.memory- mrsrinivas