[ https://issues.apache.org/jira/browse/SPARK-6055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Josh Rosen resolved SPARK-6055. ------------------------------- Resolution: Fixed Fix Version/s: 1.2.2 1.1.2 1.3.0 > Memory leak in pyspark sql due to incorrect equality check > ---------------------------------------------------------- > > Key: SPARK-6055 > URL: https://issues.apache.org/jira/browse/SPARK-6055 > Project: Spark > Issue Type: Bug > Components: PySpark, SQL > Affects Versions: 1.1.1, 1.3.0, 1.2.1 > Reporter: Davies Liu > Assignee: Davies Liu > Priority: Blocker > Fix For: 1.3.0, 1.1.2, 1.2.2 > > > The __eq__ of DataType is not correct, class cache is not used correctly > (created class can not be find by dataType), then it will create lots of > classes (saved in _cached_cls), never released. > Also, all same DataType have same hash code, there will be many object in a > dict with the same hash code, end with hash attach, it's very slow to access > this dict (depends on the implementation of CPython). -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org