You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "dzcxzl (JIRA)" <ji...@apache.org> on 2019/07/09 08:56:00 UTC

[jira] [Created] (SPARK-28314) Infinite recursion loop in MemoryAllocator#allocate when build HashedRelation

dzcxzl created SPARK-28314:
------------------------------

             Summary: Infinite recursion loop in MemoryAllocator#allocate when build HashedRelation
                 Key: SPARK-28314
                 URL: https://issues.apache.org/jira/browse/SPARK-28314
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 2.4.0
            Reporter: dzcxzl


Broadcasting some tables with a large number of rows may cause infinite recursion loop in TaskMemoryManager#allocatePage.
This is because HashedRelation uses Long.MaxValue to construct MemoryManager instead of memory configured by driver.
MemoryAllocator#allocate throws OOM,TaskMemoryManager#allocatePage captures OOM and continues to call allocatePage.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org