[
https://issues.apache.org/jira/browse/DRILL-647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Parth Chandra resolved DRILL-647.
---------------------------------
Resolution: Fixed
Fixed by Drill-1480
> memory leak
> -----------
>
> Key: DRILL-647
> URL: https://issues.apache.org/jira/browse/DRILL-647
> Project: Apache Drill
> Issue Type: Bug
> Components: Execution - Flow
> Reporter: Chun Chang
> Assignee: Parth Chandra
> Priority: Critical
> Fix For: 0.8.0
>
>
> After processing thousands of queries (in the order of, may occur earlier),
> any new query will fail due to memory allocation failure.
> org.apache.drill.exec.memory.OutOfMemoryException: You attempted to create a
> new child allocator with initial reservation 20000000 but only 9934592 bytes
> of memory were available.
>
> org.apache.drill.exec.memory.TopLevelAllocator.getChildAllocator(TopLevelAllocator.java:68)
>
> ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
>
> org.apache.drill.exec.ops.FragmentContext.<init>(FragmentContext.java:86)
> ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
>
> org.apache.drill.exec.work.foreman.QueryManager.runFragments(QueryManager.java:87)
>
> ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
>
> org.apache.drill.exec.work.foreman.Foreman.runPhysicalPlan(Foreman.java:310)
> [drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
> org.apache.drill.exec.work.foreman.Foreman.runSQL(Foreman.java:324)
> [drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
> org.apache.drill.exec.work.foreman.Foreman.run(Foreman.java:175)
> [drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
>
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> [na:1.7.0_45]
>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> [na:1.7.0_45]
> java.lang.Thread.run(Thread.java:744) [na:1.7.0_45]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)