You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@drill.apache.org by "Chris Westin (JIRA)" <ji...@apache.org> on 2015/06/02 22:32:49 UTC
[jira] [Commented] (DRILL-3170) TestLeakResource exposes a memory
leak
[ https://issues.apache.org/jira/browse/DRILL-3170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14569699#comment-14569699 ]
Chris Westin commented on DRILL-3170:
-------------------------------------
This is because we detect the issue, but don't have any way to force a cleanup at the time of the drillbit shutdown. It doesn't seem worth writing special code just to handle that. I'll add some TODOs to the code with this ticket id.
> TestLeakResource exposes a memory leak
> --------------------------------------
>
> Key: DRILL-3170
> URL: https://issues.apache.org/jira/browse/DRILL-3170
> Project: Apache Drill
> Issue Type: Bug
> Components: Execution - Flow
> Reporter: Deneche A. Hakim
> Assignee: Chris Westin
> Fix For: Future
>
>
> When running test class TestResourceLeak, the test succeeds but the drillbit shutdown will display the following error message:
> {noformat}
> Total 51599 allocation(s) of byte size(s): 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ... at stack location:
> org.apache.drill.exec.memory.TopLevelAllocator$ChildAllocator.buffer(TopLevelAllocator.java:273)
> org.apache.drill.exec.test.generated.ProjectorGen3.doEval(ProjectorTemplate.java:225)
> org.apache.drill.exec.test.generated.ProjectorGen3.projectRecords(ProjectorTemplate.java:62)
> org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.doWork(ProjectRecordBatch.java:172)
> org.apache.drill.exec.record.AbstractSingleRecordBatch.innerNext(AbstractSingleRecordBatch.java:93)
> org.apache.drill.exec.physical.impl.project.ProjectRecordBatch.innerNext(ProjectRecordBatch.java:129)
> ...
> {noformat}
> I truncated the error message, in the original message all 51599 allocations have a 1 byte size
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)