drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chun Chang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DRILL-647) memory leak
Date Tue, 06 May 2014 22:48:18 GMT

    [ https://issues.apache.org/jira/browse/DRILL-647?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13991277#comment-13991277
] 

Chun Chang commented on DRILL-647:
----------------------------------

Just saw new merges which might include fixing memory issues. My tested build is:

[root@qa-node120 apache-drill-1.0.0-m2-incubating-SNAPSHOT]# cat git.properties
#Generated by Git-Commit-Id-Plugin
#Mon May 05 13:08:21 PDT 2014
git.commit.id.abbrev=8cc45c9
git.commit.user.email=jacques@apache.org
git.commit.message.full=Fix sqlline shell invocation so that it doesn't scan for a billion
classes to find the match for the jdbc\:drill\: url.\n
git.commit.id=8cc45c9e04a1d11947364e0db5d6ca5a716c19e9
git.commit.message.short=Fix sqlline shell invocation so that it doesn't scan for a billion
classes to find the match for the jdbc\:drill\: url.
git.commit.user.name=Jacques Nadeau
git.build.user.name=cchang738
git.commit.id.describe=drill-1.0.0-m1-244-g8cc45c9
git.build.user.email=cchang738@gmail.com
git.branch=master
git.commit.time=04.05.2014 @ 10\:42\:49 PDT
git.build.time=05.05.2014 @ 13\:08\:21 PDT
git.remote.origin.url=https\://git-wip-us.apache.org/repos/asf/incubator-drill.git

> memory leak
> -----------
>
>                 Key: DRILL-647
>                 URL: https://issues.apache.org/jira/browse/DRILL-647
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Chun Chang
>            Priority: Critical
>
> 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.2#6252)

Mime
View raw message