You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafodion.apache.org by "Hans Zeller (JIRA)" <ji...@apache.org> on 2017/05/31 23:38:04 UTC

[jira] [Closed] (TRAFODION-2625) Memory leak in emitRow() in table-mapping UDFs

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

Hans Zeller closed TRAFODION-2625.
----------------------------------

> Memory leak in emitRow() in table-mapping UDFs
> ----------------------------------------------
>
>                 Key: TRAFODION-2625
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2625
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: sql-exe
>    Affects Versions: 2.0-incubating
>            Reporter: Hans Zeller
>            Assignee: Hans Zeller
>             Fix For: 2.2-incubating
>
>
> When running a TMUDF that returns very many rows, I am seeing the memory consumption of the UDF grow by a very large amount, proportional to the number of emitRow() calls it makes.
> From debugging I see that a call to IpcBufferedMsgStream::cleanupBuffers() is missing in function PerformWaitedReplyToClient(). For small UDFs this is probably not so much an issue, since the cleanup method gets invoked at a later point, but for very large UDFs, all the reply buffers stay allocated until the UDF finishes.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)