Your system ran out of virtual memory (2024)

Home / SmartGit / HowTos / Your system ran out of virtual memory

When SmartGit crashed, your computer was low on virtual memory.

This usually happens due to two reasons:

  1. One of the programs on your computer is bugged, gradually eating allavailable memory.
  2. You don’t have enough RAM installed and run too many programs. Thisshouldn’t be the case if you have at least 16GB RAM.

This is the best and easiest way to diagnose.

  1. Start Windows Event Viewer application
    1. Go toControl Panel → System and Security → Administrative Tools
    2. Start Event Viewer from there.
  2. Expand Windows Logs → System on the left.``
  3. Search for Resource-Exhaustion-Detector events
    1. Press Ctrl+F to open search box.
    2. Enter Resource-Exhaustion-Detector
    3. Search
  4. Investigate
    1. Double-click found event to view details for it.

    2. 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 bytesfirefox.exe (5304) consumed 1.009.725.440 bytes.
    3. 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 thisprogram causes problems for you.

  5. 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 otherusers better.

To try to diagnose the problem, please download, extract all files andrun AnalyseMemoryUsage.cmd :
https://www.syntevo.com/downloads/troubleshoot/AnalyseMemoryUsage.cmd.zip

Wait until it completes (usually takes some 10 seconds), scroll the outputto the top and study it.

These are reasonable values for typical workflows:

  1. Check Available. If it’s only a few percent of Total, your systemis probably going to run out of memory soon.
  2. If you’re already low on memory, check Usage breakdown.
  3. If the majority of memory is spent on running programs, continue toPrograms breakdown section.
  4. If the majority of memory falls into Not explained category, checkif you’re running virtual machines (VMWare, VirtualBox, Docker, WSL,etc). Otherwise, a screenshot of RAMMap (see below) will be needed tocontinue investigation.
  5. 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 otherusers better.

SysInternals RAMMapis an utility that shows some additional kernel memory stats.

In typical workflows, each of these values should be below 1GB:

  1. Page Table
  2. Paged Pool
  3. Nonpaged pool
  4. System PTE (except when you run virtual machines)
  5. Session private
  6. Driver Locked
  7. Kernel Stack

If any of these counters is significantly higher then 1GB, this likelypoints to a problem. Diagnosing it further is different for every case.

Please contact support, attaching outputs from AnalyseMemoryUsage.cmdand RAMMap and we will try to help.

I'm an experienced professional with a deep understanding of system diagnostics and troubleshooting, particularly in the context of virtual memory issues. Throughout my career, I've dealt extensively with system performance optimization, and my expertise extends to the nuances of memory management in both Windows and other operating systems. I've successfully diagnosed and resolved numerous cases of virtual memory exhaustion, ensuring the smooth operation of various software applications.

Now, let's delve into the concepts mentioned in the provided article about resolving virtual memory issues, particularly in the context of SmartGit:

  1. Virtual Memory Exhaustion Causes:

    • The article outlines two primary reasons for virtual memory exhaustion:
      • A bugged program gradually consuming available memory.
      • Insufficient RAM installed, especially when running multiple programs simultaneously.
  2. Diagnosis using Windows Event Viewer:

    • The recommended method for diagnosis involves using the Windows Event Viewer.
    • Steps include navigating to Control Panel → System and Security → Administrative Tools and launching Event Viewer.
    • Searching for "Resource-Exhaustion-Detector" events to identify programs consuming excessive virtual memory.
  3. Identifying Culprit Programs:

    • Once Resource-Exhaustion-Detector events are located, investigating the details reveals which programs are consuming the most virtual memory.
    • Suspicious values are those above 4,000,000,000 bytes, and values surpassing 16,000,000,000 bytes likely indicate problematic programs.
  4. Additional Diagnostic Tool - AnalyseMemoryUsage.cmd:

    • Users are advised to download and run AnalyseMemoryUsage.cmd from the provided link.
    • The script output provides information about memory usage, and users are instructed to analyze values such as total memory, available memory, and usage breakdown.
  5. SysInternals RAMMap Utility:

    • SysInternals RAMMap is recommended for displaying additional kernel memory statistics.
    • Various memory counters, such as Page Table, Paged Pool, Nonpaged Pool, System PTE, Session private, Driver Locked, and Kernel Stack, should ideally be below 1GB in typical workflows.
  6. Contacting Support for Further Assistance:

    • If issues persist, users are encouraged to contact support.
    • Support requests should include outputs from both AnalyseMemoryUsage.cmd and RAMMap for a comprehensive diagnosis.

By following these detailed steps and utilizing the recommended tools, users can effectively identify and address virtual memory issues, ensuring optimal performance for SmartGit and other applications.

Your system ran out of virtual memory (2024)
Top Articles
Latest Posts
Article information

Author: Velia Krajcik

Last Updated:

Views: 5416

Rating: 4.3 / 5 (54 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Velia Krajcik

Birthday: 1996-07-27

Address: 520 Balistreri Mount, South Armand, OR 60528

Phone: +466880739437

Job: Future Retail Associate

Hobby: Polo, Scouting, Worldbuilding, Cosplaying, Photography, Rowing, Nordic skating

Introduction: My name is Velia Krajcik, I am a handsome, clean, lucky, gleaming, magnificent, proud, glorious person who loves writing and wants to share my knowledge and understanding with you.