You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "David Li (Jira)" <ji...@apache.org> on 2020/09/21 13:19:00 UTC
[jira] [Created] (SPARK-32953) Lower memory usage in toPandas with
Arrow self_destruct
David Li created SPARK-32953:
--------------------------------
Summary: Lower memory usage in toPandas with Arrow self_destruct
Key: SPARK-32953
URL: https://issues.apache.org/jira/browse/SPARK-32953
Project: Spark
Issue Type: Improvement
Components: PySpark
Affects Versions: 3.0.1
Reporter: David Li
As described on the mailing list:
[http://apache-spark-developers-list.1001551.n3.nabble.com/DISCUSS-Reducing-memory-usage-of-toPandas-with-Arrow-quot-self-destruct-quot-option-td30149.html]
toPandas() can as much as double memory usage as both Arrow and Pandas retain a copy of a dataframe in memory during the conversion. Arrow >= 0.16 offers a self_destruct mode that avoids this with some caveats.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org