[
https://issues.apache.org/jira/browse/TRAFODION-2625?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hans Zeller resolved TRAFODION-2625.
------------------------------------
Resolution: Fixed
Fix was checked in as part of
https://github.com/apache/incubator-trafodion/pull/1104 on 5/31/2017.
> 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)