You are viewing a plain text version of this content. The canonical link for it is here.
Posted to codereview@trafodion.apache.org by selvaganesang <gi...@git.apache.org> on 2018/02/16 02:11:22 UTC

[GitHub] trafodion pull request #1447: [TRAFODION-2727] Memory leak in the compiler p...

GitHub user selvaganesang opened a pull request:

    https://github.com/apache/trafodion/pull/1447

    [TRAFODION-2727] Memory leak in the compiler part of the code in Traf…

    …odion
    
    It was found that CmpMessageReplyCode was not getting deleted at all times.
    But, the handling of CmpMessageDescribe messages in the compiler code has some
    mysterious issue that corrupts the memory causing unpredictable behavior when
    CmpMessageReplyCode is deleted.  To circumvent this problem, the CmpStatement heap
    is used for embedded compiler to allocate CmpMessageReplyCode and the Context heap
    is used in case of standalone compiler. The handling of CmpMessageDescribe will
    continue to leak memory in standalone compiler.

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

    $ git pull https://github.com/selvaganesang/trafodion trafodion-2727

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

    https://github.com/apache/trafodion/pull/1447.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 #1447
    
----
commit 52703c64dbca6af7f7ad17d7e0efe15d7f6afd0c
Author: selvaganesang <se...@...>
Date:   2018-02-16T02:03:46Z

    [TRAFODION-2727] Memory leak in the compiler part of the code in Trafodion
    
    It was found that CmpMessageReplyCode was not getting deleted at all times.
    But, the handling of CmpMessageDescribe messages in the compiler code has some
    mysterious issue that corrupts the memory causing unpredictable behavior when
    CmpMessageReplyCode is deleted.  To circumvent this problem, the CmpStatement heap
    is used for embedded compiler to allocate CmpMessageReplyCode and the Context heap
    is used in case of standalone compiler. The handling of CmpMessageDescribe will
    continue to leak memory in standalone compiler.

----


---

[GitHub] trafodion pull request #1447: [TRAFODION-2727] Memory leak in the compiler p...

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

    https://github.com/apache/trafodion/pull/1447


---