[
https://issues.apache.org/jira/browse/SPARK-55832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kent Yao resolved SPARK-55832.
------------------------------
Fix Version/s: 4.2.0
Resolution: Fixed
Issue resolved by pull request 54619
[https://github.com/apache/spark/pull/54619]
> 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
> Assignee: Kent Yao
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.2.0
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]