-
Notifications
You must be signed in to change notification settings - Fork 499
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? #85
Comments
@Kandiu Thanks for your feed back ! In fact, i already notice the memory leak in daily usage. But the difficulty is that the memory leak problem is very difficult to locate. According to my long experience of using Mos, the memory usage will not continue to grow at around 300MB. So this problem will not affect the daily usage, if you think this problem has However, you can only manually restart the application. I will try to fix this problem in future. If you have more information to provide, please continue to feedback. |
I was looking at the source code. I've never wrote anything in Swift nor Objective C. I don't actually understand all the source code of Mos. I see that you never release the The thing I noticed is that it increases each time I login after a lock screen. This doesn't happen if you lock screen and login immediately after., but if you give some time, like 1hr between a lock screen and a log in, you will see the increase in memory. I hope this gives some more insight on the problem. |
@Kandiu Deeply thanks for your support ! The code your fixed indeed is an unreleased object and i always thought that the object which is created by I also found another leak point on |
How do you locate the leak even though you don't know Swift or Objective-C? What's your magic :) |
问题描述 | Issue description:
I guess there is a memory leak issue. I leave my macbook in standby most of the time, in particular at night. So, I turn off completely the external mouse. After a weak of usage, I saw in the Activity Monitor that Mos used 297MB of memory, which is quite a lot. I forgot to make a screenshot before closing and reopening the app.
如何重现 | How to reproduce it:
Normal daily usage, no gaming and no heavy scrolling. Even when you don't use the mouse or the scroll, you can see the memory usage increases.
软件版本 | Application version:
2.2.6
系统版本 | System version:
macOS 10.13.4
您系统中的其他鼠标管理软件 | Other mouse management application in your system:
Nothing, the default system settings.
You can find a little test I did for 2 days, where the night the mouse and macbook are not used at all.
Imgurl screeshots of 2 days
Btw great app!
The text was updated successfully, but these errors were encountered: