You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Kent Yao (Jira)" <ji...@apache.org> on 2026/03/04 13:24:00 UTC
[jira] [Created] (SPARK-55832) Reduce periodic GC interval in ThriftServerQueryTestSuite to mitigate OOM
Kent Yao created SPARK-55832:
--------------------------------
Summary: Reduce periodic GC interval in ThriftServerQueryTestSuite to mitigate OOM
Key: SPARK-55832
URL: https://issues.apache.org/jira/browse/SPARK-55832
Project: Spark
Issue Type: Improvement
Components: SQL, Tests
Affects Versions: 4.2.0
Reporter: Kent Yao
ThriftServerQueryTestSuite runs 800+ SQL golden file tests sequentially in a single SparkSession. The default spark.cleaner.periodicGC.interval is 30 minutes, which is too infrequent for the memory pressure in this long-running suite (~50 min). This causes intermittent OOM (java.lang.OutOfMemoryError: Java heap space) during scalar subquery tests, with 100+ failed page allocations (64MB each).
Reduce the periodic GC interval to 60 seconds for this test suite to allow more frequent garbage collection and prevent memory buildup.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org