You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Deneche A. Hakim (JIRA)" <ji...@apache.org> on 2015/05/22 20:22:17 UTC

[jira] [Created] (DRILL-3170) TestLeakResource exposes a memory leak

Deneche A. Hakim created DRILL-3170:
---------------------------------------

             Summary: TestLeakResource exposes a memory leak
                 Key: DRILL-3170
                 URL: https://issues.apache.org/jira/browse/DRILL-3170
             Project: Apache Drill
          Issue Type: Bug
            Reporter: Deneche A. Hakim
            Assignee: Chris Westin


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)