LoginSignup
0
0

More than 5 years have passed since last update.

windows10 でメモリーを開放する (empty.exe

Posted at

empty.exe を使用します.

free-mem.cmd
@echo off
rem
rem Summary   : free memory of RAM.
rem

echo.
echo %~dpnx0, size=%~z0 bytes.
echo.
SETLOCAL EnableDelayedExpansion
for /f "usebackq tokens=1,2 delims=,"  %%a in (`tasklist /fo csv`) do (
    set pid=%%~b
    if not "!pid!"=="0" (
        echo program=%%~a pid=!pid!
        empty !pid!
    )
)
endlocal

NOTE:

  • task managerで確認すると、確かに"使用中"のmemoryは減りますが、
    "スタンバイ"として表示されているmemory領域と、"使用中"の合計サイズはほぼ変わりません・・・
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0