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

Memory Leak detection / System Monitoring Alerts #146

Open
Dustin00 opened this issue Nov 19, 2023 · 0 comments
Open

Memory Leak detection / System Monitoring Alerts #146

Dustin00 opened this issue Nov 19, 2023 · 0 comments
Labels
Feature✨ New feature or request

Comments

@Dustin00
Copy link

Run-time memory leak detection could trigger alerts.

Orphan nodes and other things can leak memory and be detected to tell the developer when their code has taken a misstep.

I think for this one monitor value, you'd want 3 settings:

  • toggle to enable checking
  • frequency setting (number of seconds between each check)
  • an orphan node threshold (some projects may have some expected number of orphans)

Using Performance.get_monitor(Performance.OBJECT_ORPHAN_NODE_COUNT) we can check against the threshold to make the alert.

The alert should just be a log entry, I think. If you had a pop-up option, you would close it and immediately get the pop-up again, most likely, making things impossible to deal with. Or there could be a pop-up, but it can only happen once?

If feeling super industrious, this could be a new window that allows for min/max tolerance values for any/all Monitor values.

@Ark2000 Ark2000 added the Feature✨ New feature or request label Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature✨ New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants