Skip to content

[pull] master from greenplum-db:master#46

Merged
pull[bot] merged 1 commit intoMu-L:masterfrom
greenplum-db:master
Jan 22, 2021
Merged

[pull] master from greenplum-db:master#46
pull[bot] merged 1 commit intoMu-L:masterfrom
greenplum-db:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Jan 22, 2021

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

)

Jesse found this memory leak that was introduced in my previous commit
df3ce784285f7d9ceccfa761fd790ece65b65cde.

Adding some notes for how to detect ORCA memory leaks:

Just run ORCA MDP tests should detect memory leaks inside of gporca.
However, the translator code under gpopt is not tested by the MDP tests,
and we by default use GPDB memory contexts in the translator.

One way to detect memory leaks in the ORCA translator code is to set
"optimizer_use_gpdb_allocators=0" in the gpconfig files and run the
relevant queries. By doing that we instead use ORCA memory contexts and
ORCA will be able to detect the memory leaks.

Reported-by: Jesse Zhang <sbjesse@gmail.com>
@pull pull bot added the ⤵️ pull label Jan 22, 2021
@pull pull bot merged commit 8da6059 into Mu-L:master Jan 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant