[ https://issues.apache.org/jira/browse/SPARK-32953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17199391#comment-17199391 ]
Apache Spark commented on SPARK-32953: -------------------------------------- User 'lidavidm' has created a pull request for this issue: https://github.com/apache/spark/pull/29818 > 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 > Priority: Major > > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org