Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2022 02:19 AM
WRT databricks-connect, we were able to fix the OOM error by increasing the memory of the local Spark driver instance which is used for the remote communication and runs in the background:
conf <- spark_config()
conf$`sparklyr.shell.driver-memory` <- "10G"
databricks_connect_spark_home <- system("databricks-connect get-spark-home", intern = TRUE)
sc <-
spark_connect(
method = "databricks",
spark_home = databricks_connect_spark_home,
config=conf
)