hawq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From huor <...@git.apache.org>
Subject [GitHub] incubator-hawq pull request: HAWQ-426. Fix memory leak for query a...
Date Sat, 20 Feb 2016 14:41:23 GMT
GitHub user huor opened a pull request:

    https://github.com/apache/incubator-hawq/pull/361

    HAWQ-426. Fix memory leak for query and prepared statement due to introduction of query
resource parameters

    The query resource parameters is kept in planned statement. So, the resolution is to make
query resource parameters using the same memory context as planned statement. Thus, they can
be freed at the same time.
    
    From implementation standpoint, we do a deep copy of query resource parameters in copy
function of plannedstmt so that they use the same memory context.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/huor/incubator-hawq huor_pbe

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-hawq/pull/361.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #361
    
----
commit aa7be29bfb4af1b20ca3a224226d8b77208464e3
Author: Ruilong Huo <rhuo@pivotal.io>
Date:   2016-02-20T14:34:21Z

    HAWQ-426. Fix memory leak for query and prepared statement due to introduction of query
resource parameters

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message