You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Nick Lee (JIRA)" <ji...@apache.org> on 2015/09/15 13:01:45 UTC

[jira] [Created] (SAMZA-772) Kafka in-memory buffer may cause OOM: Heap Space errors

Nick Lee created SAMZA-772:
------------------------------

             Summary: Kafka in-memory buffer may cause OOM: Heap Space errors
                 Key: SAMZA-772
                 URL: https://issues.apache.org/jira/browse/SAMZA-772
             Project: Samza
          Issue Type: Bug
          Components: kafka
    Affects Versions: 0.9.1
            Reporter: Nick Lee


The default setting for systems.system-name.samza.fetch.threshold will pre-fetch 50,000 messages from Kafka, ignoring the availability of heap space. When working with relatively large messages, this can lead to Samza job failures. 

A simple solution would be to restrict the maximum size of org.apache.samza.system.SystemConsumers.unprocessedMessagesBySSP.table to no more than a configurable percentage (35% by default?) of the maximum heap space. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)