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

Leakage of memory #19

Open
Sergey-Galan opened this issue Jan 27, 2019 · 4 comments
Open

Leakage of memory #19

Sergey-Galan opened this issue Jan 27, 2019 · 4 comments

Comments

@Sergey-Galan
Copy link

Sergey-Galan commented Jan 27, 2019

Hello! Thanks for your product, this that that I looked for. The problem if to leave windows in "Notices", occurs leakage of memory. In 12 hours lost 10GB.
Mac os 10.14.3 system
Excuse for bad English)))

@Sergey-Galan
Copy link
Author

@Sergey-Galan
Copy link
Author

Solved this problem on so:
Removed from a code and all that is connected with it.
- (void) bye; { //Look for the notification sent, remove it when found NSString *UUID = currentNotification.userInfo[@"uuid"] ; for (NSUserNotification *nox in [[NSUserNotificationCenter defaultUserNotificationCenter] deliveredNotifications]) { if ([nox.userInfo[@"uuid"] isEqualToString:UUID ]){ [[NSUserNotificationCenter defaultUserNotificationCenter] removeDeliveredNotification:nox] ; [[NSUserNotificationCenter defaultUserNotificationCenter] removeDeliveredNotification:nox] ; } } }

In a script I delete alerter process.
Example:
./alerter -title "$infotext" -subtitle "Duration... $videoduration" -message "Size.......... $outmb" -closeLabel Close -dropdownLabel "Size" -actions "size $out bytes","size $in bytes" -contentImage pics/FTP_Unloading5.png &> /dev/null & sleep 2 && pkill "alerter"

Windows are necessary to me only for information and they remain in "Notification"

@rr0ss0rr
Copy link

The function you describe can be fulfilled by using terminal-notifier on github

@Sergey-Galan
Copy link
Author

Sergey-Galan commented Jan 28, 2019

For many reasons of alerter for me is preferable

journey-ad added a commit to journey-ad/uebersicht-widget that referenced this issue Aug 18, 2023
使用修改后的terminal-notifier替代alerter,因为后者存在内存泄漏问题 vjeantet/alerter#19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants