You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hawq.apache.org by huor <gi...@git.apache.org> on 2016/02/20 15:41:23 UTC

[GitHub] incubator-hawq pull request: HAWQ-426. Fix memory leak for query a...

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 <rh...@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.
---

[GitHub] incubator-hawq pull request: HAWQ-426. Fix memory leak for query a...

Posted by huor <gi...@git.apache.org>.
Github user huor closed the pull request at:

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


---
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.
---

[GitHub] incubator-hawq pull request: HAWQ-426. Fix memory leak for query a...

Posted by wengyanqing <gi...@git.apache.org>.
Github user wengyanqing commented on the pull request:

    https://github.com/apache/incubator-hawq/pull/361#issuecomment-186965027
  
    +1


---
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.
---

[GitHub] incubator-hawq pull request: HAWQ-426. Fix memory leak for query a...

Posted by ztao1987 <gi...@git.apache.org>.
Github user ztao1987 commented on the pull request:

    https://github.com/apache/incubator-hawq/pull/361#issuecomment-186968123
  
    +1


---
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.
---