You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hawq.apache.org by "George Caragea (JIRA)" <ji...@apache.org> on 2016/03/28 18:55:25 UTC

[jira] [Resolved] (HAWQ-544) Wrong MemoryAccountingPeakBalance assert after calling elog in function AdvanceMemoryAccountingGeneration, calling multiple errors thrown when OOM hit

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

George Caragea resolved HAWQ-544.
---------------------------------
    Resolution: Fixed

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