[ 
https://issues.apache.org/jira/browse/TRAFODION-2252?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Suresh Subbiah resolved TRAFODION-2252.
---------------------------------------
    Resolution: Fixed

> 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