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

[Enhance] Too many log messages for memory stats when run out of memory #159

Closed
1 of 2 tasks
gfphoenix78 opened this issue Aug 21, 2023 · 2 comments
Closed
1 of 2 tasks
Labels
type: Bug Something isn't working

Comments

@gfphoenix78
Copy link
Collaborator

Cloudberry Database version

1.3, perhaps all versions have this issue.

What happened

When a query causes out of memory, it may call RunawayCleaner_RunawayCleanupDoneForProcess. This function will dump all memory stats from TopMemoryContext to its descendant. The log message may be huge, up to tens giga bytes. It looks dangerous that may cause out of disk for the cluster.

What you think should happen instead

No response

How to reproduce

skip.

Operating System

centos

Anything else

No response

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

@gfphoenix78 gfphoenix78 added the type: Bug Something isn't working label Aug 21, 2023
@github-actions
Copy link

Hey, @gfphoenix78 welcome!🎊 Thanks for taking the time to point this out.🙌

@my-ship-it
Copy link
Contributor

No reproducible steps provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants