[
https://issues.apache.org/jira/browse/IMPALA-11557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17605010#comment-17605010
]
ASF subversion and git services commented on IMPALA-11557:
----------------------------------------------------------
Commit f8eac781c17be5492d367b63e85b9e4746e5cc12 in impala's branch
refs/heads/master from hexianqing
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=f8eac781c ]
IMPALA-11557: Fix memory leak in BlockingRowBatchQueue
'batch_queue_' is a pointer to store the RowBatches. It's
initialized in the constructor but not deleted in the destructor.
The way to fix in the patch is to use std::unique_ptr.
Change-Id: I656316b6575ce74a03b83fcd45e772c763835d56
Reviewed-on: http://gerrit.cloudera.org:8080/18960
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Quanlong Huang <[email protected]>
> Memory leak in BlockingRowBatchQueue
> ------------------------------------
>
> Key: IMPALA-11557
> URL: https://issues.apache.org/jira/browse/IMPALA-11557
> Project: IMPALA
> Issue Type: Bug
> Components: Backend
> Affects Versions: Impala 4.0.0, Impala 4.1.0
> Reporter: Xianqing He
> Assignee: Xianqing He
> Priority: Major
> Labels: memory-leak
>
> Reproduce SQL: select count(*) from tpch_pqrquet.lineitem;
> 40 Concurrent running reproduces memory leaks faster.
> Code location of memory leak:
> https://github.com/apache/impala/blob/17ec3a85c7e3733dacb08a9fcca83fff5ec75102/be/src/runtime/blocking-row-batch-queue.cc#L31
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]