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

🔨 provide a way to debug memory usage per query #1261

Merged
merged 1 commit into from
Apr 17, 2024
Merged

Conversation

imilchev
Copy link
Member

Provide a way to debug the memory usage per executed query. This is intentionally not a debug message, because we need to read extra info to be able to print it. It is also not tied to the existing DEBUG flag because that one is storing bundles locally and switching the log output to debug. Storing the bundles would not work in a k8s setup because we have the entire filesystem as read-only.

Signed-off-by: Ivan Milchev <ivan@mondoo.com>
Copy link
Member

@arlimus arlimus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

helpful to find heavy allocations

@imilchev imilchev merged commit 757e0c7 into main Apr 17, 2024
13 checks passed
@imilchev imilchev deleted the ivan/qr-mem-debug branch April 17, 2024 07:56
@github-actions github-actions bot locked and limited conversation to collaborators Apr 17, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants