[ https://issues.apache.org/jira/browse/ASTERIXDB-1670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15554323#comment-15554323 ]
Wail Alkowaileet commented on ASTERIXDB-1670: --------------------------------------------- I couldn't reproduce this issue again for some reason. I'll mark it as not a problem for now. > Java heap exceeded - COUNT(for $x in dataset Tweets return $x) > -------------------------------------------------------------- > > Key: ASTERIXDB-1670 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-1670 > Project: Apache AsterixDB > Issue Type: Bug > Components: Optimizer > Reporter: Wail Alkowaileet > > Sounds like there is a new materialization bug. > [~wyk] Can you please add the query plan for the query that failed with > Exception. > {noformat} > 1- returning the whole tuple > count( for $x in dataset Tweets > return $x > ) > => Throws an exception Java heap exceeded. (The heap-size is less than the > sum of AsterixDB configured memory ... so it's not a problem). > {noformat} > {noformat} > 2- However, returning one field > count( for $x in dataset Tweets > return $x.id > ) > => Worked just fine. > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)