Your system ran out of virtual memory
Introduction
When SmartGit crashed, your computer was low on virtual memory.
This usually happens due to two reasons:
- One of the programs on your computer is bugged, gradually eating all available memory.
- You don’t have enough RAM installed and run too many programs. This shouldn’t be the case if you have at least 16GB RAM.
Windows: Diagnosing with Event Log
This is the best and easiest way to diagnose.
- Start Windows
Event Viewer
application- Go to
Control Panel → System and Security → Administrative Tools
- Start
Event Viewer
from there.
- Go to
- Expand
Windows Logs → System
on the left.`` - Search for
Resource-Exhaustion-Detector
events- Press Ctrl+F to open search box.
- Enter
Resource-Exhaustion-Detector
- Search
- Investigate
-
Double-click found event to view details for it.
-
It will say something like this:
Windows successfully diagnosed a low virtual memory condition. The following programs consumed the most virtual memory: BuggedProgram.exe (11584) consumed 55.660.101.632 bytes firefox.exe (5304) consumed 1.009.725.440 bytes.
-
Look for anything suspicious
Values above 4.000.000.000 bytes are already suspicious.
Values above 16.000.000.000 bytes most likely mean that this program causes problems for you.
-
- If these steps didn’t help you, please send us a mail!
Note
If you found the program, please let us know! This lets us help other users better.
Windows: Diagnosing with our script
To try to diagnose the problem, please download, extract all files and
run AnalyseMemoryUsage.cmd
:
https://www.syntevo.com/downloads/troubleshoot/AnalyseMemoryUsage.cmd.zip
Wait until it completes (usually takes some 10 seconds), scroll the output to the top and study it.
These are reasonable values for typical workflows:
- Check
Available
. If it’s only a few percent ofTotal
, your system is probably going to run out of memory soon. - If you’re already low on memory, check
Usage breakdown
. - If the majority of memory is spent on running programs, continue to
Programs breakdown
section. - If the majority of memory falls into
Not explained
category, check if you’re running virtual machines (VMWare, VirtualBox, Docker, WSL, etc). Otherwise, a screenshot of RAMMap (see below) will be needed to continue investigation. - If unsure, please send script output to us and we’ll try to help.
Note
If you found the program, please let us know! This lets us help other users better.
Windows: Diagnosing with RAMMap
SysInternals RAMMap is an utility that shows some additional kernel memory stats.
In typical workflows, each of these values should be below 1GB:
- Page Table
- Paged Pool
- Nonpaged pool
- System PTE (except when you run virtual machines)
- Session private
- Driver Locked
- Kernel Stack
If any of these counters is significantly higher then 1GB, this likely points to a problem. Diagnosing it further is different for every case.
Didn’t find the program to be blamed?
Please contact support, attaching outputs from AnalyseMemoryUsage.cmd and RAMMap and we will try to help.