Repository navigation
CLI argument for cleaning memory on startup #3128
As title says I just want to clear memory on startup so wondering is there any way to achieve this?
|
Replies: 1 comment 1 reply
|
There's no command-line switch for this. The full list of arguments System Informer accepts is in The Empty button in your screenshot (System Information → Memory → "Memory lists" box) only opens a menu (
These are interactive only, so they can't be triggered at startup without clicking. If you want it automated, a command-line option (for example A practical note before you automate it: right after boot there is very little to free. Emptying the standby list or the file cache throws away data Windows has cached on purpose, and it simply reads it back from disk, so the system is usually slower afterwards, not faster. Running it once at startup is mostly cosmetic. These commands are more useful as a one-off, for example before measuring memory use. |

There's no command-line switch for this. The full list of arguments System Informer accepts is in
SystemInformer/main.c(PhpProcessStartupParameters):-settings,-nosettings,-v,-hide,-ras,-nokph,-debug,-hwnd,-point,-showoptions,-phsvc,-noplugins,-newinstance,-elevate,-s,-help,-selectpid,-priority,-plugin,-selecttab,-sysinfo,-kh,-kxand-channel. None of them runs a memory-list command.The Empty button in your screenshot (System Information → Memory → "Memory lists" box) only opens a menu (
PhShowMemoryListCommandinmemlists.c):