Unexpected Behaviours and Crashes
Current Behavior
I am using the following settings in the image. Sometimes, the program ends (or crashes?)as soon as the optimisation is completed. Since I have turned on auto optimisation, it happens automatically while I use my laptop.
Secondly, Since I have turned on Run on startup, everytime I boot my PC, it opens a .new file and asks me to open the selected file in an app, which is annoying at the very least.
Third, it sometimes show 3.0.2 as version number while other times, it showed 3.0.6 as the version number. I had auto update turned on until a few days ago, but had turned it seeing such issues.
Expected Behavior
The program should remain alive until I close it if Close after optimisation is turned off.
It should NOT open/create a .new file post boot and not ask me to open it in a app.
It should show 3.0.6 only all the time.
Steps to Reproduce
Just use it normally.
App Version
3.0.6
Windows Version
Windows 11
Additional Context
No response
Checklist
- [x] I have searched the existing issues to make sure this bug has not been reported yet.
- [x] I have tested with the latest version of the application.
I am using the following settings in the image. Sometimes, the program ends (or crashes?)as soon as the optimisation is completed. Since I have turned on auto optimisation, it happens automatically while I use my laptop.
Apps and Windows can crash; hardware and systems vary. I cannot investigate further without more details. When a crash occurs, please collect the logs and report them.
BTW. We already have an enhancement related to this: https://github.com/IgorMundstein/WinMemoryCleaner/issues/131
https://github.com/IgorMundstein/WinMemoryCleaner?tab=readme-ov-file#-logs
Secondly, Since I have turned on Run on startup, everytime I boot my PC, it opens a .new file and asks me to open the selected file in an app, which is annoying at the very least. Third, it sometimes show 3.0.2 as version number while other times, it showed 3.0.6 as the version number.
This was an attempt to improve the auto-update feature, which unfortunately caused more issues. So, it was reverted back to the original code from the first version. You can take a look at the issues closed for more details, and keep an eye on the changelog for the fixes.
https://github.com/IgorMundstein/WinMemoryCleaner/issues?q=is%3Aissue%20state%3Aclosed
I had auto update turned on until a few days ago, but had turned it off seeing such issues.
The app offers users the flexibility to customize their experience. You can enable or disable features as you wish, including turning off auto-updates. You can monitor new releases on GitHub, and if you notice anything in the changelog that interests you—such as a fix or enhancement—you can choose to update to a specific version. When the app doesn't work as expected, it affects me, the sole maintainer, more significantly than it would a larger user base.
Closing this issue. If you have more details to share, feel free to reply to the same thread.
Hey man, sorry for disturbing you again. I have actually wanted to contribute to GitHub open source projects for a long time. When I just opened your repository and checked the src folder there were so many sub folders and files, the sheer amount I haven't ever seen in my life. I am new to developing programs, and this 1, 2 and 3 are some of my best works. Do you know any good sources where I can learn how to understand or start to understand such a large and complex project, how to go around contributing to them, etc. I am just trying to find a solid guidance.
@ParthProLegend Everything is good, man. You don't bother me. Despite some recent bugs, this project is stable and offers most of its features. There are other similar projects; one in particular has been around for over 10 years, but the developer there can be somewhat rude.
There are some open enhancements that users have suggested, and these will likely be the last features that this app deserves. Unfortunately, this type of app has been abused by various companies and developers in the past, leading to a bad reputation for memory management and widespread skepticism about its effectiveness. Windows has significantly evolved and manages memory much better now. Nonetheless, this app remains useful for lower-end hardware and specific situations where applications are leaking memory. As a result, the community tends to be more toxic than collaborative. I only maintain it because a few users occasionally provide positive feedback. I opened an option for donations, but it hardly receives any support. Don’t get me wrong; something is better than nothing, but realistically, it doesn't even cover 1% of the time I invest in this project.
I've learned valuable things from this project, which helps keep my skills up to date. This year, I found a company that offers certificates for good open-source projects, and GitHub has rewarded me with a GitHub Copilot subscription for the project's recognition. This encourages me to continue maintaining it.
For the app to operate correctly, it requires admin privileges, creates registry entries, and sets up scheduled tasks to run on startup. Such behaviors can be dangerous, as many malicious programs exhibit similar actions, which is why this app often gets flagged as suspicious. It's frustrating to keep reporting these as false positives. The package managers Winget and Scoop are up to date, but Chocolatey is stuck on version 3.0.2 due to a single false positive scan. It’s annoying that every time I need to release a new version, I have to deal with these issues. I invested some time this year implementing CI/CD (check out GitHub Actions) to automate the deployment process, but I still need to focus more on unit tests.
I've been saying "yes" to about 99% of the requests, and while this enhances the project's value, it also makes it more complex, as you’ve seen in the code. I try to keep it organized and follow good practices, but working with a legacy framework makes this challenging, especially when compounded by a lack of time and patience.
Since you’re new to this, I don't recommend that you learn it. .NET is a powerful language that keeps improving, but this app uses an old and discontinued framework version along with a technology called WPF, which Microsoft has already replaced. Yes, the code has become extensive because I am not using third-party tools; I only use what the framework provides, which requires a lot of manual work. I got too ambitious with adding multi-language support and creating a polished interface that runs on all versions of Windows since XP and 2003 (which are both over 20 years old).
My advice is not to invest your time in this. Instead, focus on .NET 10 or Python, particularly in AI-related areas. This desktop technology is already in legacy mode; unless you find a job that still uses it, it’s not worth your time.
Currently, I am building a game that will utilize AI and run AI models locally. I’ve managed to acquire a high-end rig capable of handling heavy models with over 33 billion parameters. This has become my main project, alongside balancing life and work. As I mentioned in the README, I don’t even use WMC on my PC because my hardware is more than sufficient for any task. However, I understand that this isn’t the reality for many people, as hardware can still be quite expensive.
I could expand this project or create a new one using this code to add features like disk management, registry editing, or Windows debloating, similar to many paid suite applications. However, I haven't pursued that idea further since there are already several good open-source apps that perform those tasks.
This app does not collect any user data, so I am unaware of the number of active users; I only have access to the download count. I have been approached by individuals interested in purchasing the project or insisting on collecting user data, but I consistently refuse, as I am committed to promoting open-source initiatives. I am very pleased that React is no longer under Meta and is now under the Linux Foundation, for example.
My tech suggestions for you would be .NET 10 for the back-end and React for the user interface, and, of course, use AI as a tool, learn about LLMs, and play with it locally for free.
Thanks man for such a detailed and awesome reply. I was still confused about going with React but your comment motivated me. I was trying to decide if Flutter is more worth it, as it can be used for most frontends. I have already played a lot with local LLMs. I am interested in knowing more about that game based on AI. Also, since you can run 33B models on your rig, I would suggest going towards MoE and specifically Unsloth GGUF models as they are much easier to fine-tune. (Unsloth requires lower VRAM and most have Colab Notebooks too) I am trying hard to delve into AI but I am not sure if I should go towards the backend of AI (ML, Maths, Model development, etc.) or the frontend (Use cases, Deployment, agentic workflows, etc.)
There is no definitive right or wrong tech stack; it all depends on your goals and the job market in your area. I've been working with .NET for the last 15 years, and overall, it has served me well. I primarily use ASP.NET. While React, Angular, and Blazor are newer technologies that are currently gaining popularity, I find React to be somewhat better than the others. However, that doesn't mean Angular or Blazor are not good options. These are just web development frameworks; you can still explore mobile or desktop development if that aligns better with your interests.
Investing in AI knowledge is substantial, but it's worth it—just keep at it. I am still learning as well. Currently, I am using different models, each for specific purposes. I often run benchmarks to evaluate the quality of each model. The 33B parameter allows me to utilize my GPU’s entire VRAM without relying on the computer's RAM, which is 6 times slower. My goal is to enhance the context for the game's development. I am still working on the back-end and generating data in the database. Although I want to train a model to use in real-time, it may be unrealistic for version 1.0 of the game due to the costs associated with running it as an online game rather than an offline one.
While I am experimenting with AI, it has proven to be a valuable tool that accelerates many processes. It's like having a team of developers working for me 24/7. Since I have development expertise, I can manage it effectively. Therefore, I encourage learning coding and good practices while using AI as an assistant, but be cautious not to rely on it completely, as it still makes mistakes.
This game is a personal solo project. It has been a dream of mine since childhood, as both a gamer and a developer, to create a game, even if it doesn't achieve commercial success. The magic of games lies in the fact that there is often a target audience that truly enjoys playing them, which is the greatest reward a developer can receive.
Thank you for sharing your knowledge; I will definitely take a look at the models you suggested.