[
https://issues.apache.org/jira/browse/ASTERIXDB-1670?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wail Alkowaileet closed ASTERIXDB-1670.
---------------------------------------
Resolution: Not A Problem
> 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)