Commit 4d57ea7
Limit Spark driver memory to 512m in tests to prevent OOM
The Spark JVM defaults to grabbing ~1GB+ of heap memory. With 2 xdist
workers each spawning Spark, this exceeds the 7GB available on GitHub
Actions runners. Capping spark.driver.memory at 512m prevents the
"Cannot allocate memory" failures in test_pyspark_python_model and
the spark db_api tests.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: eakmanrq <6326532+eakmanrq@users.noreply.github.com>1 parent 3113988 commit 4d57ea7
2 files changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1722 | 1722 | | |
1723 | 1723 | | |
1724 | 1724 | | |
| 1725 | + | |
1725 | 1726 | | |
1726 | 1727 | | |
1727 | 1728 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
0 commit comments