Davies Liu created SPARK-6055:
---------------------------------

             Summary: memory leak in pyspark sql
                 Key: SPARK-6055
                 URL: https://issues.apache.org/jira/browse/SPARK-6055
             Project: Spark
          Issue Type: Bug
          Components: PySpark, SQL
    Affects Versions: 1.2.1, 1.1.1, 1.3.0
            Reporter: Davies Liu
            Assignee: Davies Liu
            Priority: Blocker


The __eq__ of DataType is not correct, class cache is not use 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to