GithubHelp home page GithubHelp logo

igormundstein / winmemorycleaner Goto Github PK

View Code? Open in Web Editor NEW
1.5K 20.0 92.0 922 KB

This free RAM cleaner uses native Windows features to optimize memory areas. It's a compact, portable, and smart application.

License: GNU General Public License v3.0

C# 100.00%
memory-cleaner memory memory-management memory-manager memory-optimizer memory-optimization ram-cleaner ram-clean cleaner memory-monitoring

winmemorycleaner's People

Contributors

abdulmajeed-alrajhi avatar constantinejc avatar eskeyv avatar igormundstein avatar mariachi1231 avatar raydenake22 avatar riebi avatar ruslooob avatar slluxx avatar venusgirl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

winmemorycleaner's Issues

"Hotkey is already registered"

When first starting WinMemoryCleaner, a popup will appear stating "Hotkey is already registered"
... I never even attempted to register any sort of hotkey ever. So, how do I get this message to stop greeting me upon Startup?
StartUpMsg

Auto memory cleaning

Will there be a feature to auto clean the ram after a certain amount of time? like, have it always open in the background or minimized and do its thing. i think it'd be cool for users who open programs and play games all the time.

Close to systray only works after minimizing to taskbar and restoring first

Describe the bug

While selecting the option 'Minimize to tray when closed' the window shrinks in the lower left corner as a contentless windows when clicking 'x' symbol. See the attached image for the effect.

Steps to reproduce the behavior

  1. Go to "settings" and select option 'Minimize to tray when closed'
  2. Click on 'x' symbol
  3. Look at taskbar and desktop
  4. Icon disappears from taskbar but there may be a contentless window on desktop

Expected behavior
Window should close without trace and there should not be a taskbar symbol when clicking 'x' symbol while option 'Minimize to tray when closed' is select.

Screenshots
image

Desktop

  • OS: Windows 11 22H2 (Build 22621.1848)

Additional context

Possible workaround that works for me and may help finding cause of bug:

Minimize window to taskbar -> Restore window from taskbar -> Choose "x" symbol to minimize to tray

Freezes when cleaning memory?

Hello when the software is cleaning my memory, my pc is completely freezing for ~2 minutes and then I receive the notification that my memory was cleaned, I am on Windows 11 and I use the latest version of the software, If you need any more informations or logs say it to me

Running Program

Checklist

  • I have used the search function to see if someone else has submitted the same bug report.
  • I will describe the problem in as much detail as possible.

App version

2.5

Windows version

11

Steps To Reproduce

at run the file
and show the some bar i'm click yes

Current Behavior

Can't run the .exe file
Not show in Task Manager

Expected Behavior

No response

Anything else?

No response

kmode_exception_not_handled BSOD

Checklist

  • I have used the search function to see if someone else has submitted the same bug report.
  • I will describe the problem in as much detail as possible.

App version

2.5

Windows version

22H2 OS Build 19045.3693

Steps To Reproduce

idk just optimizing a lot

Current Behavior

windows bsod

Expected Behavior

no bsod

Anything else?

why are there so many requried questions feels like homework 💀

Free RAM on trayicon ?

Would be really nice to display the free RAM on the trayicon on Windows without having to hover over the icon

[Improvement} No more UAC window on launch

Checklist

  • I have used the search function to see if someone else has already submitted the same feature request.
  • I will describe the problem in as much detail as possible.
  • This issue only requests one feature, not multiple (related) features.

App version

2.8

Problem you are trying to solve

Every time I launch my Windows 11 system, WinMemoryCleaner shows an annoying UAC window to give it admin rights.

Suggested solution

Is it possible to hide the UAC window on launch and still give admin rights to the WinMemoryCleaner ?

I tried this already but it doesn't work :

I created a task in task scheduler that launches WinMemoryCleaner.exe on startup with with maximum permissions, it DOES work after the first reboot but then that task gets deleted for some reason.

I excluded WinMemoryCleaner.exe file and process from Windows Defender as well.

Is there another solution ?

Screenshots / Drawings / Technical details

No response

WinMemoryCleaner blocked by Windows Defender

Checklist

  • I have used the search function to see if someone else has submitted the same bug report.
  • I will describe the problem in as much detail as possible.

App version

Latest

Windows version

Windows 10

Steps To Reproduce

I reinstalled the software multiple times even through different sites but it detects a virus (trojan)

Current Behavior

Cannot download/run WinMemoryCleaner

Expected Behavior

The program should run with no issues.

Anything else?

No response

[Feature] More details on tray icon mouse hover

Checklist

  • I have used the search function to see if someone else has already submitted the same feature request.
  • I will describe the problem in as much detail as possible.
  • This issue only requests one feature, not multiple (related) features.

App version

2.8

Problem you are trying to solve

Seeing more details on tray icon mouse hover.

Suggested solution

Hi, I would like to suggest a new feature.

What would be useful (at least for me) is to add more details when hovering your mouse on the tray icon.

For now, when hovering you only see the "used memory" percentage. It would be nice to add the "free memory" percentage as well as the GB used next to these percentages.

And remove the capitalized "MEMORY USAGE" text to keep it even more cleaner.

Screenshots / Drawings / Technical details

No response

Add virtual memory display

Checklist

  • I have used the search function to see if someone else has already submitted the same feature request.
  • I will describe the problem in as much detail as possible.
  • This issue only requests one feature, not multiple (related) features.

App version

2.5

Problem you are trying to solve

Is it feasible to include virtual memory usage information on the main interface, similar to the functionality seen in Memreduct.Thank you!

Suggested solution

Similar to the functionality provided by Memreduct.

Screenshots / Drawings / Technical details

No response

Optimize by clicking the tray icon

Checklist

  • I have used the search function to see if someone else has already submitted the same feature request.
  • I will describe the problem in as much detail as possible.
  • This issue only requests one feature, not multiple (related) features.

App version

2.8

Problem you are trying to solve

I have been using memreduct for a while now and thought of trying something new and found this one. The memreduct has implemented a feature that we can double-click on the system tray icon to optimize the memory without opening the application. That is indeed easy and saves some extra clicks. I have checked the documentation but couldn't find this feature.

Suggested solution

Integrate the memory optimization process directly to the system tray icon so users can just double-click (or single-click - customizable) to run the optimization.

Screenshots / Drawings / Technical details

No response

Command switches

Hello, do you can add to this app support for command switches? For silent running

Example WinMemoryCleaner.exe /aa /bb /cc

Can it be minimized?

Hi , Thanks for the tool, it's very helpful for me.

The tool always on the top,it is possible to minimized?

Win11上显示错误

Checklist

  • I have used the search function to see if someone else has submitted the same bug report.
  • I will describe the problem in as much detail as possible.

App version

latest

Windows version

11

Steps To Reproduce

image

Current Behavior

image

Expected Behavior

No response

Anything else?

No response

Virus Trojan Windows 10

Checklist

  • I have used the search function to see if someone else has submitted the same bug report.
  • I will describe the problem in as much detail as possible.

App version

2.6

Windows version

Windows 10 (Win32)

Steps To Reproduce

After two days of almost constant use
I started up my computer, and the "WinMemoryCleaner" application asked me to grant it administration rights on my computer,
Thinking it was normal, I gave it the rights, and a few seconds later,

Windows Antivirus detected a "Trojan:Win32" after automatically launching the application

Current Behavior

Live with antivirus and Windows security activated to remove and eliminate the problem :(

Expected Behavior

No response

Anything else?

IMG_20231218_173318

(ps : It's in French, but "Cheval de Troie" is Trojan virus)

Automating until v2.0 comes out

Quick way to automate this until v2.0 with automation comes out:

i downloaded the WinMemoryCleaner.exe and placed it under "C:\Program Files\WinMemoryCleaner" and created a script called run.ps1 in the same folder as well with the follwing code:

Start-Process -FilePath "C:\Program Files\WinMemoryCleaner\WinMemoryCleaner.exe" -ArgumentList "/CombinedPageList","/ModifiedPageList","/ProcessesWorkingSet","/StandbyList","/StandbyListLowPriority","/SystemWorkingSet" -WindowStyle Hidden

i have all arguments listed remove the ones you dont want.

you can put it anywhere you want just adjust the path in step 5 if you want to place it somewhere else

Now do the following:

  1. Open Task Scheduler: You can open Task Scheduler by searching for it in the Start menu or by pressing Windows + R on your keyboard, typing "taskschd.msc" into the Run dialog box, and pressing Enter.

  2. Create a new task: In the Task Scheduler window, click on "Create Task" in the right-hand pane to start creating a new task.

  3. Name and configure the task: In the "General" tab of the "Create Task" dialog box, give your task a name that describes what it does. Under "Security options," make sure that "Run whether user is logged on or not" is selected, and check the box for "Run with highest privileges" if your script requires administrative permissions to run.

  4. Schedule the task: In the "Triggers" tab, click on "New" to add a new trigger. Here, you can set up when and how often your task will run. Select "Daily" as the trigger type, and set the "Recur every" value to 1 days. Under "Advanced settings," select "Repeat task every" and set the value to 30 minutes. Set the start time to the time when you want the task to start running, and set the end time to a date far in the future to ensure that the task will continue to run indefinitely.

  5. Add an action: In the "Actions" tab, click on "New" to add a new action. Here, select "Start a program" as the action type, and in the "Program/script" field type "PowerShell.exe".
    In the "Add arguments" field, enter the following
    -ExecutionPolicy Bypass -File "C:\Program Files\WinMemoryCleaner\run.ps1" -NonInteractive

  6. Save the task: Once you've configured all the settings for your task, click on "OK" to save it. You may be prompted to enter your username and password if your task requires administrative privileges to run.

#4
#6
#5

image
image
image

for fun i made chatGPT write a ps1 script that does all of the above but didnt test it so you have fun with it


# Set parameters
$downloadUrl = "https://github.com/IgorMundstein/WinMemoryCleaner/releases/download/1.1/WinMemoryCleaner.exe"
$executablePath = "C:\Program Files\WinMemoryCleaner\WinMemoryCleaner.exe"
$arguments = "/CombinedPageList /ModifiedPageList /ProcessesWorkingSet /StandbyList /StandbyListLowPriority /SystemWorkingSet"
$taskName = "WinMemoryCleaner"
$taskDescription = "Automatically runs WinMemoryCleaner every 30 minutes"
$taskPath = "\Microsoft\Windows\WinMemoryCleaner"
$taskInterval = New-TimeSpan -Minutes 30

# Create directory for executable
$directoryPath = "C:\Program Files\WinMemoryCleaner"
if (!(Test-Path $directoryPath)) {
    New-Item -ItemType Directory -Path $directoryPath | Out-Null
}

# Download executable
$webClient = New-Object System.Net.WebClient
$webClient.DownloadFile($downloadUrl, $executablePath)

# Create script to run executable
$scriptPath = "C:\Program Files\WinMemoryCleaner\run.ps1"
$scriptContent = "@echo off`n&`"" + $executablePath + "`" " + $arguments
$scriptContent | Out-File $scriptPath -Encoding ASCII

# Create task to run executable every 30 minutes
$action = New-ScheduledTaskAction -Execute "PowerShell.exe" -Argument "-NoProfile -WindowStyle Hidden -Command `"& 'C:\Program Files\WinMemoryCleaner\run.ps1'`""
$trigger = New-ScheduledTaskTrigger -Once -At (Get-Date) -RepetitionInterval $taskInterval -RepetitionDuration ([TimeSpan]::MaxValue)
$settings = New-ScheduledTaskSettingsSet -AllowStartIfOnBatteries -DontStopIfGoingOnBatteries -StartWhenAvailable -RunOnlyIfNetworkAvailable -DontStopOnIdleEnd -WakeToRun
Register-ScheduledTask -TaskName $taskName -Description $taskDescription -Action $action -Trigger $trigger -Settings $settings -User "SYSTEM"

# Enable task to run on demand
$task = Get-ScheduledTask -TaskPath $taskPath -TaskName $taskName
$taskSettings = $task.Settings
$taskSettings.RunOnlyIfIdle = $false
$taskSettings.DisallowStartIfOnBatteries = $false
$task.Settings = $taskSettings
Set-ScheduledTask -TaskPath $taskPath -TaskName $taskName -Settings $taskSettings

# Run the task
Start-ScheduledTask -TaskPath $taskPath -TaskName $taskName

chatGPT quote:

This script will download the WinMemoryCleaner.exe file from the given URL and save it to C:\Program Files\WinMemoryCleaner\WinMemoryCleaner.exe. It will also create the run.ps1 script that runs the executable with the given arguments. Finally, it creates a scheduled task that runs the run.ps1 script every 30 minutes as the SYSTEM user.

Note that you should run this script with elevated privileges in order to create the directory and files in the C:\Program Files\ directory. Also, make sure that the URL for the WinMemoryCleaner.exe file is still valid before running

More specific auto optimisation timing interval

Checklist

  • I have used the search function to see if someone else has already submitted the same feature request.
  • I will describe the problem in as much detail as possible.
  • This issue only requests one feature, not multiple (related) features.

App version

2.5

Problem you are trying to solve

I would like to have a custom interval instead of in hours, something like every 10 minutes or such. I am unable to do it manually without recompiling as DWORD 32-bit keys only support integers and no float values. This is mostly for convenience, but I hope you still consider it, it will be greatly appreciated!

Suggested solution

if (DateTimeOffset.Now.Subtract(_lastAutoUpdate).TotalHours < Constants.App.AutoUpdateInterval)
                    return;

I believe replacing TotalHours function with TotalMinutes would save the DWORD as a minute value registry key, allowing the interval value to be in minutes.

Screenshots / Drawings / Technical details

Make the interval value a text input field instead of a slider :)

not opening

Checklist

  • I have used the search function to see if someone else has submitted the same bug report.
  • I will describe the problem in as much detail as possible.

App version

2.8

Windows version

11

Steps To Reproduce

open WinMemoryCleaner.exe

Current Behavior

after i open it and click yes, nothing happens. the app doesnt open, nor is it in the system tray. it does show up in task manager though

Expected Behavior

i expected it to open the app or be in the system tray

Anything else?

image
image

Optimize Memory On Program Start

Checklist

  • I have used the search function to see if someone else has already submitted the same feature request.
  • I will describe the problem in as much detail as possible.
  • This issue only requests one feature, not multiple (related) features.

App version

Windows Memory Cleaner 2.5

Problem you are trying to solve

I want to use this program in a batch/script situation.
I would like to be able to run the Memory Cleaner
and have it auto-optimize the memory,
( without needing to click the Optimize button. )
and then have the Memory Cleaner shut down.
Would it be possible to implement a checkbox for this function?

Thank You.

Suggested solution

Checkbox function under Settings in Memory Cleaner.

Screenshots / Drawings / Technical details

Just check the box in Settings to use the function.

Application deletes wow6432node run key for local machine

Describe the bug
This program deletes: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run

To Reproduce
Steps to reproduce the behavior:

  1. Start the program.

Expected behavior
Wait for user input.

Screenshots
Not required.

Desktop (please complete the following information):

  • OS: Windows 7

Additional context
It took me a week to track this problem and writing a powershell script myself to monitor my registry key.
I had missing startup programs recently but I couldn't see where they were missing from by using tools like externals autoruns. Eventually purely by accident I discovered the following registry key was missing:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run

I managed to recover from a backup registry which had 13 startup programs.
Left my script running and got a result running this application.
Restored my key and retested.
Confirmed this program deletes startup programs in windows 7.
Have not tested other systems.
Unless fixed and ensured confidence in the programs activity, I will not be using this application.

i can't open the GUI

Checklist

  • I have used the search function to see if someone else has submitted the same bug report.
  • I will describe the problem in as much detail as possible.

App version

2.5.0.0

Windows version

Windows 10

Steps To Reproduce

i don't really know how to reproduce it, i just downloaded the file and tried to run the .exe

Current Behavior

after running the .exe (i tried to run as administrator too) i get a notification that says "Hotkey (Alt, Control, M) is in use by Windows" but when i try to press the keys, nothing shows up
image

Expected Behavior

as far as I understand it should open the GUI, but it does not

Anything else?

No response

Close to systray doesn't work.

Describe the bug
The window is closed incorrectly, and remains on the desktop as in the photo.
image

To Reproduce
My settings.
image

Desktop (please complete the following information):

  • OS: Windows 11 22H2
  • WMC: 2.0

Firewall blocked behaviour

Checklist

  • I have used the search function to see if someone else has submitted the same bug report.
  • I will describe the problem in as much detail as possible.

App version

last one

Windows version

11 22631.2861

Steps To Reproduce

On starting program happens when software connection is blocked by the firewall
ss

Current Behavior

ss

Expected Behavior

No response

Anything else?

No response

stuck at minimized

Checklist

  • I have used the search function to see if someone else has submitted the same bug report.
  • I will describe the problem in as much detail as possible.

App version

latest

Windows version

windows 10

Steps To Reproduce

  1. opening

Current Behavior

Cannot open any settings page

Expected Behavior

I need a button for settings page at taskbar icon

Anything else?

No response

Not starting since latest update Windows 11

Describe the bug
Not starting since latest update Windows 11 Professionnel 22H2 22621.1848

To Reproduce
update Windows 11

Expected behavior
the program would ... run .

Screenshots
not applicable

Desktop (please complete the following information):

  • OS: Windows 11 Professionnel 22H2 22621.1848
  • Browser chrome 114.0.5735.199

Windows error msg popup when opening 2.1

Just opening WMC 2.1 throws this windows message popup:

image

Here is a stackoverflow question so you know what it translates to and (maybe) whats causing it. The program continues after clicking okay so its not too big of a deal.

I also got this message once on trying to start, but cant remember if WMC continued afterwards.
It translates to The resource with the name "DarkBackground" could not be found.
I could only produce this once however so it might be some windows glitch that didn't allow me to use the resources of this application because it was already in use or whatever, not entirely sure.
image

Bitdefender Flagged and Removed the .exe

Checklist

  • I have used the search function to see if someone else has submitted the same bug report.
  • I will describe the problem in as much detail as possible.

App version

2.5

Windows version

Win 10

Steps To Reproduce

Have Bitdefender installed. Both programs running together fine with no flags or issues. Run Bitdefender after latest update. Get a "critical" warning that says Bitdefender has removed Winmemcleaner due to suspicious behaviour.

Current Behavior

I thought it was unlikely to be a legitmate move by Bitdefender, so restored the program. Screenshot of Bitdefender explanation here: https://ibb.co/kqxTtqX

Expected Behavior

Not sure I added it to exceptions when I restored it, but presume it would have happened automatically when I did.

Anything else?

BB winmemclr

https://ibb.co/kqxTtqX

BB winmemclr

After setting up to Start at startup, GUI doesn't open anymore in any way. Systray appears, it's just the GUI never opens.

Checklist

  • I have used the search function to see if someone else has submitted the same bug report.
  • I will describe the problem in as much detail as possible.

App version

2.5

Windows version

11

Steps To Reproduce

This is my guess, as I can't get it to normal anymore.
1 - I opened the program for the first time. I set it up to open at systray, and to start with Windows (Can't remember if I set up anything else)
2 - Eventually turned off Windows, and then turned on again, WMC started up at Systray, I can Right Click it and "Optimize" and "Exit, both work normally.
3 - Double click to open the interface, it appears to open, however, there is nothing. Trying to move the window (Right click, move, press arrows) shows nothing, as if it's invisible or non-existent, although the mouse acts like if it's moving something.

Current Behavior

Closing and opening again does not fix.
Killing the process and opening it up again does not fix
Blocking it at startup and then running it normally does not fix either.

In short, I can't open the GUI anymore, and with that, I can't change any options. I would believe maybe removing a config file to force reset settings would fix it, but I don't know where it is, if any, so it's stuck with this behavior.

Expected Behavior

Open the GUI, thus being able to see the interface and interact with it

Anything else?

08xxE9uRHK

I can share config files and logs, although I have no idea where they are.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.