You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Suresh Subbiah (JIRA)" <ji...@apache.org> on 2016/09/29 02:38:20 UTC

[jira] [Updated] (TRAFODION-2252) Memory leak during compile of certain insert statements

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

Suresh Subbiah updated TRAFODION-2252:
--------------------------------------
    Summary: Memory leak during compile of certain insert statements  (was: Memory leak during compile of insert statements)

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