New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

clear-memory-cache

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clear-memory-cache

A Cli tool to clear windows caches, standby memory.

latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

clear-memory-cache

A CLI tool to clear Windows caches and standby memory via Rammap (Sysinternals).

Prerequisites

  • Rammap must be installed and available in PATH (Sysinternals RAMMap)
  • Windows (PowerShell / Windows Terminal)

Install

npm install --global clear-memory-cache

Usage

$ clear-memory-cache <command> [options]
$ cmc <command> [options]

Commands

CommandDescription
memory-clearEmpty all process working sets (rammap -Et)
cache-clearEmpty system working set / caches (rammap -Es)
empty-standby-memoryEmpty standby list (rammap -E0)
clear-pm-cacheClear package manager caches (see options below)
clear-allRun memory-clear + empty-standby-memory + clear-pm-cache --all
smart-clearAnalyze memory and clear only what is necessary
versionShow version number
aboutShow package info
helpShow help

clear-pm-cache options

FlagRuns
--bunbun pm cache rm -g
--npmnpm cache rm -g --force
--pnpmpnpm cache delete
--yarnyarn cache clean
--allAll of the above

smart-clear thresholds

Free RAMStatusAction
< 10%🚨 CRITICALmemory-clear + empty-standby-memory + cache-clear
10–20%⚠️ LOWempty-standby-memory + cache-clear
20–40%🟡 MODERATEcache-clear
> 40%✅ HEALTHYNo action needed

Examples

cmc memory-clear
cmc cache-clear
cmc empty-standby-memory
cmc clear-pm-cache --npm
cmc clear-pm-cache --all
cmc clear-all
cmc smart-clear
clear-memory-cache clear-pm-cache --all
clear-memory-cache empty-standby-memory

Keywords

cli

FAQs

Package last updated on 18 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts