-
Notifications
You must be signed in to change notification settings - Fork 74
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 on Mac #43
Comments
thank you - @h4llow3En what do you think? |
Did you tried it also on Linux systems? Or do you just noticed it on Mac? |
Over the last 30 Minutes tested the script above using mac-notification-sys directly. The memory usage stayed consistent all the time. |
Maybe you should upgrade mac-notification-sys in notify-rust. You are still using v0.1 |
Could be done with #44 |
I didn't do that back then because the |
@h4llow3En I haven't seen the issue on Linux systems. I've tested it on recently patched versions of Void Linux and Arch. |
Yes a backport is a possible idea. But you also should consider changing to failure since error-chain seems to be deprecated (rust-lang-nursery/failure#181). If you wish I could have a look into that |
I am currently in the process of migrating to the latest dbus version, in the process of that I'm rewriting about 10% of the code. After that I can take some time to migrate it to failure. If you wish we could pair on that 😄 Any time this week[end] ? |
Sure, if I find the time! 🙂 But I can't guarantee it |
@h4llow3En I don't know if this will be helpful but the issue does not exist if the program is run with sudo or as root. |
the next release will have |
Sorry for the delay. Yes the issue does not exist in version 3.6. This issue can be closed. Thanks! |
I am new to this so sorry if I am missing any information. When sending a notification on a separate thread a program will begin to consume more and more memory. This can be observed by writing a simple program that spawns a thread and then sends a notification from it. I suspect this issue may actually live in mac-notification-sys. I have observed this issue on macOS High Sierra.
Example:
The text was updated successfully, but these errors were encountered: