[ https://issues.apache.org/jira/browse/HAWQ-426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ruilong Huo updated HAWQ-426: ----------------------------- Description: During resource allocation for query and prepared statement, we cache the query resource parameters so that query resource can be allocated for multiple query execution after query preparation. Currently, query resource parameters is kept in CacheMemoryContext or TopMemoryContext which may lead to memory leak. (was: During resource allocation for PBE, we cache the query resource parameters so that query resource can be allocated for multiple query execution after query preparation. Currently, query resource parameters is kept in CacheMemoryContext or TopMemoryContext which may lead to memory leak.) > Fix memory leak for query and prepared statement due to introduction of query > resource parameters > ------------------------------------------------------------------------------------------------- > > Key: HAWQ-426 > URL: https://issues.apache.org/jira/browse/HAWQ-426 > Project: Apache HAWQ > Issue Type: Bug > Components: Core, Query Execution > Reporter: Ruilong Huo > Assignee: George Caragea > > During resource allocation for query and prepared statement, we cache the > query resource parameters so that query resource can be allocated for > multiple query execution after query preparation. Currently, query resource > parameters is kept in CacheMemoryContext or TopMemoryContext which may lead > to memory leak. -- This message was sent by Atlassian JIRA (v6.3.4#6332)