[ https://issues.apache.org/jira/browse/HAWQ-544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15209635#comment-15209635 ]
ASF GitHub Bot commented on HAWQ-544: ------------------------------------- Github user liming01 commented on the pull request: https://github.com/apache/incubator-hawq/pull/454#issuecomment-200630562 Hi @gcaragea, I had merged it to master branch, could you please close this PR? Thanks. > Wrong MemoryAccountingPeakBalance assert after calling elog in function > AdvanceMemoryAccountingGeneration, calling multiple errors thrown when OOM hit > ------------------------------------------------------------------------------------------------------------------------------------------------------ > > Key: HAWQ-544 > URL: https://issues.apache.org/jira/browse/HAWQ-544 > Project: Apache HAWQ > Issue Type: Bug > Components: Query Execution > Reporter: George Caragea > Assignee: George Caragea > > In function AdvanceMemoryAccountingGeneration, we first assign > "RolloverMemoryAccount->peak = Max(RolloverMemoryAccount->peak, > MemoryAccountingPeakBalance);", then we call elog if there is a generation > overflow. Then we assert "Assert(RolloverMemoryAccount->peak >= > MemoryAccountingPeakBalance);". > If elog allocates additional memory, then this causes the assertion to fail. -- This message was sent by Atlassian JIRA (v6.3.4#6332)