You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Parth Chandra (JIRA)" <ji...@apache.org> on 2014/06/26 23:59:24 UTC

[jira] [Updated] (DRILL-998) Limit amount of memory used by drill C++ client API

     [ https://issues.apache.org/jira/browse/DRILL-998?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Parth Chandra updated DRILL-998:
--------------------------------

    Attachment: DRILL-998-patch-1.diff

Memory is limited to a configurable amount. The default is 256 MB. The actual amount of memory used may exceed the configured amount if a record batch is large and overflows the limit.

> Limit amount of memory used by drill C++ client API
> ---------------------------------------------------
>
>                 Key: DRILL-998
>                 URL: https://issues.apache.org/jira/browse/DRILL-998
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Client - C++
>            Reporter: Parth Chandra
>            Assignee: Parth Chandra
>             Fix For: 1.0.0-BETA1
>
>         Attachments: DRILL-998-patch-1.diff
>
>
> The C++ client API buffers the data that it gets back from the server and holds it until it the application has consumed it. If the application is unable to (or does not) consume the data as fast as the server is sending it back, the client API will buffer all the data, eventually running out of memory.
> The client API should limit the amount of data it buffers and block on receiving data until the application consumes the data.



--
This message was sent by Atlassian JIRA
(v6.2#6252)