Running out of RAM can confuse the operating system so badly it simply can no longer keep the screen — or anything else — running. In the words of Dr. McCoy, “He’s dead, Jim.”
I’ll review the causes, and what steps you might need to take.
Become a Patron of Ask Leo! and go ad-free!
There are many reasons your screen can turn off or go black. It could be due to a screen saver; a cable could have become disconnected; or the monitor could have been turned off.
Since you’ve associated this with your computer having exhausted all available RAM, none of those are particularly likely. It’s much more likely your computer has simply crashed. That means Windows is no longer running, your applications are no longer running, and the CPU is probably in some confused state it can’t get itself out of.
Rebooting is your only option.
Windows memory management
Windows does everything it can to try to manage memory quickly and effectively. Generally, it tries to warn you when available RAM is running low. Usually prior to that happening, your system’s performance will suffer — often greatly — as Windows attempts to compensate for the lack of available RAM by using virtual memory (VM). Virtual memory is simply disk space set aside to be used as if it were RAM. Disks are significantly slower than RAM, and as a result, the system can become excessively sluggish.
There’s also a limit to how much VM Windows will use. When both RAM and VM have been exhausted, your system is truly and completely out of memory, and will likely crash, spontaneously reboot, or come to some other kind of halt.
Particularly when resources are that low — being completely of out of memory — the crash can look like the screen going black. Windows doesn’t have the resources it needs to run and can’t update the screen any more.
Prevention is the solution
The solution, of course, is not to let your system get into a situation where it runs completely out of RAM.
That also requires at least a guess as to why it’s running out to begin with.
Your system may not have enough RAM to run everything you’re trying to run at the same time. There are two solutions to this dilemma:
- Add more RAM, if your system supports it.
- Don’t run so many programs at the same time.
Exactly how much RAM is enough, and how many programs is “too many”, depends on what you’re trying to do and the needs of the programs.
Poorly written software
If a program you’re running is causing the problem, the tactics above only postpone the problem, at best.
It is possible for software to simply manage memory poorly. That means the application keeps on asking for more and more RAM until the system runs out. This is referred to as a “memory leak”. Depending on the application, memory leaks can be quick — the problems associated with the leak become apparently very quickly — or slow, meaning the leak is so insignificant you never notice it.
If you are running a poorly written application that manages memory poorly, there’s little to be done. If this happens repeatedly, monitor what programs are using RAM, see who’s using it up, and if you detect a consistent repeat-offender, reach out to the software vendor for a fix.
Subscribe to Confident Computing! Less frustration and more confidence, solutions, answers, and tips in your inbox every week.
I'll see you there!
Download (right-click, Save-As) (Duration: 3:49 — 1.8MB)
9 comments on “Why Does My Screen Go Black When My System is Out of RAM?”
One more reason could be that computer was never shutdown or restart and due to the memory leak OS running out of memory.
Solution – daily restart
I generally find that my computer works best if it has a restart every day, even though I don’t think I’ve got a memory leak.
My laptop has not been shut down for the past 4 days. I was working and all of a sudden it went off. When you put it on, the fan works alright but with a little noise and all other components seem to work except for the screen. The screen is totally black. Do you think it’s the memory?
This article may have some clues:
My Computer Lights Up and Turns On, But Nothing Happens. Why?
“Monitor what programs are using RAM.” I find that Firefox sometimes seems to be running away with RAM, even if it’s just sitting on a page (no audio/video playing). Is that Firefox, or is that a poorly constructed webpage?
Typically the web page or a Firefox Plugin/Add-on
If the issue truly is software with a memory leak, here is an option that doesn’t require a complete reboot:
1. Identify the offending program/application/app/whateversoftwareiscalledtoday.
2. Shutdown and restart just that bit of software. (Evict it using Task Manager if need be.)
You can use Leo’s how-to guide to find the memory hog: https://askleo.com/how-do-i-tell-which-program-is-using-so-much-memory/
Windows usually cleans up all memory allocated for an instance of software – including ‘leaked’ memory – when you terminate it, thus making the memory available for other uses.
It is probably possible to automate the terminate-and-restart process, but the first step is to identify any possibly offending software and be sure a terminate-and-restart really fixes your issue.
I clicked on the last Link in the Read More: section on this page, called:
Three Reasons Programs Use All Available Memory in Your Computer
and got Your 404 page.
I saw an extra _ between the words “Programs” and “Use” in Firefox’s Status Bar when I hover the mouse over that Link.
A Link to that same page works O.K. on another page on Ask Leo.
Glad to help.
Thanks for Help us, I’ve learned LOTS reading pages on Ask Leo.
73 de MoreOff . .
Thanks! Fixed it.