Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix issue 2020: Memory leak (#2028) #2035

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

jrgemignani
Copy link
Contributor

Fixed issue 2020: Memory leak in the VLE cache cleanup routines. Or, at least I fixed a good part of it.

NOTE: We should look further into this, resources permitting.

What was causing the leaks were the property datums in the hash tables. The property datums were copied via datumCopy into the hash tables for easier access when rebuilding an edge. However, they needed to be freed when no longer needed.

No regression tests were impacted.
No regression tests were needed.

Fixed issue 2020: Memory leak in the VLE cache cleanup routines. Or,
at least I fixed a good part of it.

NOTE: We should look further into this, resources permitting.

What was causing the leaks were the property datums in the hash tables.
The property datums were copied via datumCopy into the hash tables for
easier access when rebuilding an edge. However, they needed to be freed
when no longer needed.

No regression tests were impacted.
No regression tests were needed.
@github-actions github-actions bot added PG12 PostgreSQL12 override-stale To keep issues/PRs untouched from stale action labels Aug 9, 2024
@rafsun42 rafsun42 merged commit be771e0 into apache:PG12 Aug 9, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
override-stale To keep issues/PRs untouched from stale action PG12 PostgreSQL12
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants