Taewoo Kim created ASTERIXDB-1442:
-------------------------------------

             Summary: Global memory management is required
                 Key: ASTERIXDB-1442
                 URL: https://issues.apache.org/jira/browse/ASTERIXDB-1442
             Project: Apache AsterixDB
          Issue Type: Improvement
            Reporter: Taewoo Kim


We set a few memory usage related parameter such as sort-memory, group-memory 
and join-memory in asterix-configuration.xml. There are a few more parameters 
as well. An issue is that each parameter is used individually by Asterix 
codebase and there is no global management regarding these parameters. 

Thus, for example, we can't guard a situation where memory allocation of sub 
components such as sort-memory and group-memory is greater than the NC java 
heap size.

It would be really nice if we have a query memory budgeting feature, too. If it 
is evident that a query will exceed certain memory budget, we can warn users 
rather than issuing runtime Out Of Memory error.
  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to