-
Notifications
You must be signed in to change notification settings - Fork 4
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
Large memory footprint - option to NOT stay resident? #33
Comments
Hi, are you sure it's consuming 190MB? Mine consumes just 40MB when running in the taskbar. Are you sure you're looking at the active private working set? |
I've added it in the new release. Still, I'd love to see a memory dump of the app running on your system, to see if there's any deeper problems. |
I cannot believe how quickly you responded and acted. That's amazing! I should have included TaskManager screendumps in the first place. See attached: One is with the app Open, the other with it in the Tray. Sometimes I see it dropping to ~120MB. The new version 1.3.2 works like a charm. Same memory footprint, but not a problem for me, as I close it right away. Please let me know if there is anything else I can provide to help you diagnose the memory situation. Thank you, again, for this excellent tool and for your fast response! |
No problem. If you have the time, please upload a memory dump somewhere so I can take a look. There might be a memory leak. However, no one else reported anything like this, so I'll close the issue now. |
I could perhaps reduce the memory by switching back to .net framework, or winui 3 with nativeaot, but both would be quite a drag |
I wouldn't sweat it if I am the only one reporting the high footprint. But naturally I am happy to provide anything you need. What kind of memory dump, and how do I create it? |
There's two options.
I assume both dumps will be quite large, so no problem if you don't have any means to upload them. |
Of course, duh. I just never used that memory dump feature in Task Manager before. It is uploading to my Google Drive now. I have to attend a meeting and will send you the link in about an hour. Can I share this just with you, not publicly? |
Sure, just send it to me via email
…On Fri, 1 Nov 2024, 14:31 TheDannemand, ***@***.***> wrote:
Of course, duh. I just never used that memory dump feature in Task Manager
before.
It is uploading to my Google Drive now. I have to attend a meeting and
will send you the link in about an hour. Can I share this just with you,
not publicly?
—
Reply to this email directly, view it on GitHub
<#33 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AO6X7M6DEY2EVOTI7B7L23LZ6N7D5AVCNFSM6AAAAABQ7PR27SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJRHA3TOOBVGU>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
I replied by email with link to the memory dump. I then deleted that comment in here after an hour. The email with the link should still be in your Inbox. Otherwise let me know, and I'll share again. I really am very grateful for your work. If there is anything else I can do, let me know. |
It is, I'll get home in a few minutes and download it.
…On Fri, 1 Nov 2024, 16:38 TheDannemand, ***@***.***> wrote:
I replied by email with link to the memory dump. I then deleted that
comment in here after an hour. The email with the link should still be in
your Inbox. Otherwise let me know, and I'll share again.
I really am very grateful for your work. If there is anything else I can
do, let me know.
—
Reply to this email directly, view it on GitHub
<#33 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AO6X7M4TNAOBLDIB5TZQWATZ6OOABAVCNFSM6AAAAABQ7PR27SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJSGA4DQMZRGA>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
I have downloaded it. You can remove it now. I'll look at it when I have
some time. Thank you so much for sending it to me.
…On Fri, 1 Nov 2024 at 16:38, TheDannemand ***@***.***> wrote:
I replied by email with link to the memory dump. I then deleted that
comment in here after an hour. The email with the link should still be in
your Inbox. Otherwise let me know, and I'll share again.
I really am very grateful for your work. If there is anything else I can
do, let me know.
—
Reply to this email directly, view it on GitHub
<#33 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AO6X7M4TNAOBLDIB5TZQWATZ6OOABAVCNFSM6AAAAABQ7PR27SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJSGA4DQMZRGA>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***>
|
Excellent! Just let me know if you need anything else. Again, I am very grateful for your work! |
If you're interested, I've analyzed the dump and found no evidence of a memory leak. |
Thank you, Filip. I am definitely interested and appreciate your report. Glad to hear memory leaks weren't to blame. So .NET was indeed the culprit, as expected. Still puzzling why it consumes so much more memory on my laptop, but I guess that's the thing with .NET. I understand what you are saying that most of that memory would likely be paged. Knowing that, I may occasionally leave IdeapadToolkit running in the Tray. But I have it on a HotKey already, so opening it is already as fast and convenient as locating with the mouse in the Tray, particularly since I keep my Windows TaskBar hidden. If you are interested in feature ideas for future development (and ONLY if you are) I can suggest a few inspired by Lenovo Legion Toolkit (LLT).
But seriously, ONLY listen to these if you are interested and looking to expand the software. As it is now, IdeapadToolkit is almost perfect for my use. Thank you once again for your great work! |
Thanks for the ideas. I'll look into them if I have some free time in the future. The .NET 8 runtime... I have four options |
Thank you for explaining. I can definitely understand why you chose what you did, given that it is such a small app. I think the most appealing of those options from a user standpoint would be (a) since almost everybody has .NET installed with Windows nowadays. It's not like the old days when installing .NET was an extra installation. However .NET 8, however, IS an extra install. That's just my opinion. Again, I love IdeapadToolkit the way it is already. |
As a bit of an experiment, I've ported the app to Windows App Sdk and it is now compiled ahead of time. There is no dependency on the .NET runtime now, so no need to install anything. Hopefully, the memory consumption of this version is a bit better. Note that it's still a bit buggy. |
Boy, you are unstoppable, Filip! I just checked now, and see the experimental release, but no binary download yet. I'll test this whenever you feel it is ready for testing. Just say the word. |
I am sorry to re-open this issue, but I just want to mention that Ideapad Toolkit has worked flawlessly on my Yoga 7 16IRL8 since our exchange in early November. I'd say you can safely add Yoga 7 (possibly other Yogas too) to the list of supported models. Thanks again for this excellent tool. |
Thank you very much for this useful toolkit.
Up until now, I'd been using Lenovo Legion Toolkit with my Yoga 7 16IRL8. That toolkit has a ton of features, including some very elegant ones, but most of which do not work on my Yoga anyway -- and the features I REALLY need are not compatible with my Yoga.
IdeapadToolkit has JUST those features I need the most, which are to control Power Profile and Battery Charging Mode.
As far as I can tell, it is fully compatible with my Yoga. So again, thank you very much!
One concern I have is memory footprint: IdeapadToolkit stays resident when you close it and consumes a whopping 190MB. I am guessing we have .NET to thank for that.
I need every MB on my 16GB laptop, and while I appreciate the convenience of the Tray icon, I don't need it at all.
Would it be possibly to make staying resident on close an option (similar to Run On Startup)?
Thank you in advance.
The text was updated successfully, but these errors were encountered: