You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/02/02 04:25:40 UTC

[jira] [Commented] (HAWQ-383) Fix memory leak when testing local postmaster health

    [ https://issues.apache.org/jira/browse/HAWQ-383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15127590#comment-15127590 ] 

ASF GitHub Bot commented on HAWQ-383:
-------------------------------------

GitHub user jiny2 opened a pull request:

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

    HAWQ-383. Fix memory leak when testing local postmaster health

    The connection object is not freed if the connecting attempt is failed.

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

    $ git pull https://github.com/jiny2/incubator-hawq HAWQ-383

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

    https://github.com/apache/incubator-hawq/pull/319.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 #319
    
----
commit c983d6a3227e28d051c7a32f37c0b31ddc3c091d
Author: YI JIN <yj...@pivotal.io>
Date:   2016-02-02T03:24:25Z

    HAWQ-383. Fix memory leak when testing local postmaster health

----


> Fix memory leak when testing local postmaster health
> ----------------------------------------------------
>
>                 Key: HAWQ-383
>                 URL: https://issues.apache.org/jira/browse/HAWQ-383
>             Project: Apache HAWQ
>          Issue Type: Bug
>          Components: Resource Manager
>            Reporter: Yi Jin
>            Assignee: Yi Jin
>
>  (gpos::CMemoryPoolTracker::PvAllocate(unsigned, CMemoryPoolTracker.cpp:108)                                                 +|     68598
>  (makeEmptyPGconn, fe-connect.c:2138)                                                                                        +|
>  (PQconnectStart, fe-connect.c:497)                                                                                          +|
>  (PQconnectdb, fe-connect.c:387)                                                                                             +|
>  (handleRMSEGRequestRUAlive, requesthandler_RMSEG.c:305)                                                                     +|
>  (operator, IMemoryPool.h:276)                                                                                               +|
>  (processSubmittedRequests, conntrack.c:460)                                                                                 +|
>  (MainHandlerLoop_RMSEG, resourcemanager_RMSEG.c:183)                                                                        +|
>  (gpopt::CXformCollapseProject::CXformCollapseProject(gpos::IMemoryPool*), CXformCollapseProject.cpp:56)                     +|
>  (ResManagerMainSegment2ndPhase, resourcemanager_RMSEG.c:75)                                                                 +|
>  (ResManagerMain, resourcemanager.c:335)                                                                                     +|
>  (ResManagerProcessStartup, resourcemanager.c:400)                                                                           +|
>  (CommenceNormalOperations, postmaster.c:3672)                                                                               +|
>  (do_reaper, postmaster.c:4020)



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