---
title: Which processes are using the most memory on my Windows box?
description: Here is a Windows batch file that records the top 10 highest memory using processes to a log file. Run it from the task scheduler every 15 minutes.
---

[Skip to content](https://help.wss.com/which-processes-are-using-the-most-memory-on-my-windows-box#main-content)

English

Show submenu for translations

[Questions? Comments?](https://help.wss.com/kb-tickets/new?hsLang=en)

![ProTop-helpnb.png\]](https://help.wss.com/hs-fs/hubfs/ProTop-helpnb.png?height=39&name=ProTop-helpnb.png)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [Questions? Comments?](https://help.wss.com/kb-tickets/new)
- [Download ProTop](https://protop.com/download)

[Download ProTop](https://protop.com/download)

 Ask me anything. Go ahead.

- There are no suggestions because the search field is empty.

1. [ProTop Knowledge Base](https://help.wss.com/?hsLang=en)
2. [Troubleshooting](https://help.wss.com/troubleshooting?hsLang=en)

# Which processes are using the most memory on my Windows box?

## Here is a Windows batch file that records the top 10 highest memory using processes to a log file. Run it from the task scheduler every 15 minutes.

Be sure to edit this bat file to match your environment.

```
@echo offREM schedule this to run in your task scheduler as frequently as you need it (say every 15 minutes)REM do not run from etc\schedule.*.cfg as this logic does not work with the sort command provided with ProTopREM this is just an example, your mileage may varyset LOGDIR=c:\protop\logset logfile=%LOGDIR%\mem_usage.logecho. >> %logfile%echo Logging process memory usage at %date% %time% >> %logfile%echo ============================================================================== >> %logfile%echo. >> %logfile%echo Process List (Top 10 sorted by Memory Usage in KB, descending): >> %logfile%echo.  >> %logfile%echo   Image Name                     PID Session Name        Session#    Mem Usage >> %logfile%echo   ========================= ======== ================ =========== ============ >> %logfile%:: Capture the list of all processes with PID and memory usage, sort by memory usage in descending ordertasklist /fo table /nh | sort /R /+64 | findstr/n ^^|findstr "^[1-9]: ^1[0]:" >> %logfile%:: Add spacing for readabilityecho. >> %logfile%echo ============================================================================== >> %logfile%echo. >> %logfile%
```

 

Here is the Linux version:  [How to find processes using the most memory](https://help.wss.com/how-to-find-processes-that-are-using-too-much-memory?hsLang=en)

- [Getting Started](https://help.wss.com/getting-started?hsLang=en)
- [ProTop Real-Time (RT) Monitoring](https://help.wss.com/protop-real-time-rt-monitoring?hsLang=en#main-content)

    - [Panel Details](https://help.wss.com/protop-real-time-rt-monitoring?hsLang=en#panel-details)
- [ProTop Portal Alerts Dashboard](https://help.wss.com/protop-portal-alerts-dashboard?hsLang=en#main-content)

    - [Default Alerts](https://help.wss.com/protop-portal-alerts-dashboard?hsLang=en#default-alerts)
- [ProTop Portal Trends Dashboard](https://help.wss.com/protop-portal-trends-dashboard?hsLang=en)
- [Advanced Alerting Configuration](https://help.wss.com/advanced-alerting-configuration?hsLang=en)
- [Alertable Metrics](https://help.wss.com/alertable-metrics?hsLang=en)
- [Web Portal Administration](https://help.wss.com/web-portal-administration?hsLang=en)
- [Release Notes](https://help.wss.com/release-notes?hsLang=en#main-content)

    - [Dashboards](https://help.wss.com/release-notes?hsLang=en#dashboards)
    - [Web Portal](https://help.wss.com/release-notes?hsLang=en#web-portal)
- [Troubleshooting](https://help.wss.com/troubleshooting?hsLang=en)
- [devOps](https://help.wss.com/devops?hsLang=en)
- [DBA](https://help.wss.com/dba?hsLang=en)
- [WSS Internal](https://help.wss.com/wss-internal?hsLang=en)
- [WSS](https://help.wss.com/wss?hsLang=en)
- [Health Check](https://help.wss.com/health-check?hsLang=en)
- [Reports](https://help.wss.com/reports?hsLang=en)

[![OpenEdge Experts - White Star Software](https://help.wss.com/hs-fs/hubfs/logoWSS_H-2.png?width=600&height=225&name=logoWSS_H-2.png "OpenEdge Experts - White Star Software")](https://www.wss.com?hsLang=en)

ProTop Knowledge Base

Copyright © 2026, White Star Software Inc.