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

ASF GitHub Bot commented on TRAFODION-2252:
-------------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/incubator-trafodion/pull/734


> Memory leak during compile of certain insert statements
> -------------------------------------------------------
>
>                 Key: TRAFODION-2252
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2252
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: connectivity-mxosrvr, sql-cmp
>    Affects Versions: any
>            Reporter: Suresh Subbiah
>            Assignee: Suresh Subbiah
>             Fix For: 2.1-incubating
>
>         Attachments: pprof64371.0.svg, pprof64371.sym
>
>
>  In a loading application that uses rowsets and parameters in an UPSERT USING 
> LOAD statement to add rows to a table (without an index), the attached memory 
> was seen using gperftools heap profiler. 
> Leaks were identified in
> (a) HvRoles_vec is an NAArray, but is alloocated in System heap and not 
> destroyed
> (b) HQCParseKey has a NAList data member ( HQCDynParamMap_) that is allocated 
> on system heap and not destroyed
> (c) in mxosrvr the method rePrepare2 allocates a char array that is not 
> deleted.
> This can be seen from attached svg files. Please download both files to a 
> directory and use any browser to open the .svg file
> Items (a) & (b) will be addressed in a PR and item (c) in a subsequent PR.



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

Reply via email to