Skip to content

Commit

Permalink
Fix memory issues for Spark (#1478)
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikmakait authored Mar 20, 2024
1 parent 6be0edb commit b85b497
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions ci/requirements-2tpch-non-dask.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,8 @@ grpcio==1.62.1
grpcio-status==1.62.1
protobuf==4.25.2

# First version to be able to set memory factors
coiled>=1.13.1.dev1

# Other TPCH tests
polars==0.20.13
3 changes: 1 addition & 2 deletions tests/tpch/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,7 @@ def spark_setup(cluster, local):
)
spark_dashboard = parse_url("http://localhost:4040")
else:
spark = cluster.get_spark()

spark = cluster.get_spark(executor_memory_factor=0.8, worker_memory_factor=0.9)
# Available on coiled>=1.12.4
if not hasattr(cluster, "_spark_dashboard"):
cluster._spark_dashboard = (
Expand Down

0 comments on commit b85b497

Please sign in to comment.