Lỗi out of memory khac phuc bang cmd năm 2024
Chrome is an integral part of the Google ecosystem. It explains why it’s difficult to switch to an alternative after experiencing errors that should compel you to walk away. For example, you can tie your passwords, browsing history, and browser extensions to your Google account, and Chrome will integrate everything once you log in with the browser. And we’ve not mentioned shared documents and Google Drive. Show
Chrome still enjoys the lion’s share of the web browser market, thanks to Google’s practice of making its services smoother with the browser. When users see errors, the automatic response would be fixing them, instead of being fed up. And since other browsers have their own demons, it makes all the more sense to deal with the devil they know. Being on this webpage (likely on another browser) means you’re looking for how to fix an “aw, snap!” page crash on Google Chrome for Windows. The error in question means you are out of memory. What Is the “Ran Out of Memory” Error in Google Chrome for Windows 10?Sometimes, Chrome webpages crash because the browser lacks the required memory to load them. This problem could be the result of insufficient system memory, extension issues, or problematic browser cache. The error could also be showing up because your video RAM is not up to par or Chrome has reached its allowed memory limit. Can you resolve the problem? Sure. All you have to do is handle the root cause. How to Fix the Google Chrome “Ran Out of Memory” Aw Snap ErrorKnowing the cause of the error would make things easy, but that’s not always possible. The only reasonable way to go about it in most cases is tackling the possible root causes one after the other. It would be best if you started from the most likely causes, just as we’ve laid them out below. Restart your deviceOne system reboot can resolve many errors. Multiple background processes and the applications you work with create temporary cache and logs when your system is running. These processes leave footprints behind that can clog the system memory. When your RAM reaches capacity and can’t hold data for the CPU anymore, a memory leak sets in and triggers errors and problems across different applications. Restarting your system will shut down these applications and clear the RAM. That way, your computer can start with a clean slate. A reboot also clears out other errors, such as app conflicts and hardware malfunctions that result in BSODs. Note that you have to use the Restart option. Using the Shutdown command won’t do the job, especially if the “Fast startup” option is enabled. So, open Start, click on the Power icon, and then select Restart. Update Google ChromeGoogle releases updates to patch bugs and vulnerabilities and improve Chrome’s performance. Outdated applications tend to spit errors once in a while. If you haven’t updated the program for a long time, you should do that immediately. That could be the fix you’ve been looking for. To update Chrome, do the following:
If the button isn’t available, you’re on the browser’s latest version. Clear the browser’s cacheYour browser saves portions of websites (especially images and videos) in what is known as cache files. These files allow the browser to load these web pages faster when you visit them in the future. Cache files can range from hundreds to thousands. Sometimes, they grow so large that your browser can’t process them, causing the memory error to show up. Clear Chrome’s cache and check for the issue. These steps will show you how to clear the browser’s cache:
Disable extensionsExtensions help you organize things better and allow you to tweak how you interact with the browser. As good as they are, sometimes, they can constitute a nightmare for users, and that’s without adding the security and privacy concerns surrounding them. You should turn off your extensions or completely uninstall them. To confirm that an extension is the cause of the problem, try opening Chrome in incognito mode. If the error doesn’t show up, then you should definitely get rid of your extensions. To open a new incognito window, go to the top-right corner of the browser and click on the three dots, then select New Incognito Window. If you don’t know how to disable extensions in Chrome, here’s what you have to do:
Uninstall unwanted or suspicious Google Chrome appsA web app you downloaded from the Chrome Web Store or installed via your browser might be the cause of the error. Remove the app and check if the problem persists. You can get rid of all your web apps to troubleshoot the problem. Follow these steps:
Clear temporary filesYour browser and other applications create temporary files they don’t use after a while. Over time, these files grow large and begin to cause problems, from storage shortage to system memory leaks. They could be the reason you’re seeing the “out of memory” error in Google Chrome. Getting rid of temporary files can help you fix the problem. There are two different ways to do that: using the Disk Cleanup tool and going through the Settings app. We’ll walk you through both methods. Using the Disk Cleanup tool:
Going through Settings:
Note: The immediate file categories that you’ll see on the Storage page are those for the drive or partition where Windows is installed. If you want to delete temporary files on another drive or partition, go to the “More storage settings” section and click on “View storage usage on other drives.” After that, select a drive on the next page, then click on Temporary Files. 4. Once the Temporary Files interface appears, Windows will scan your temporary files and list the categories of temporary files on your system. The size of each category will also be displayed. 5. Use the checkboxes to choose the categories you want to clean up and click on “Remove files.” 6. Once the files are deleted, restart your system and open Chrome to check for the “out of memory” error. You can also use a program designed to detect junk files and remove them. Auslogics BoostSpeed does a good job of keeping the system memory free of entities that can easily cause leaks. It also scans the system registry for leftover keys that can be harmful to the system in the future and removes them. Disable hardware accelerationGoogle Chrome’s hardware acceleration feature allows it to offload tasks from the CPU to other hardware devices. For example, it can assign video processing tasks to the GPU, even though the CPU can handle them, the reason being that offloading the tasks to hardware specially designed for performing them will take the burden off the CPU and allow things to run smoothly. Hardware acceleration is intended to boost performance and foster seamless browsing. However, the feature backfires sometimes. If there is not enough memory on your graphics card, you could easily see the “out of memory” error when Chrome assigns heavy tasks to the GPU. Sometimes, hardware acceleration just flat out fails regardless of your video card’s condition and capacity. Turn off the feature to check if it’s the cause of the error. The following steps will show you how to do that:
Note: Another way to open the Settings page in Chrome is by typing “chrome://settings/” into the Omnibox and pressing Enter. Here is what you should do next:
Run Google Chrome’s Cleanup ToolThe Chrome Cleanup Tool is the browser’s antivirus program. It works by scanning your computer for malicious programs that can harm Chrome. The main concern about the Cleanup Tool for many is privacy. True, the program scans every file on your hard drive, but Google claims it doesn’t have access to them. It only detects malicious files that might be connected to Google Chrome. Once it finds a program that poses a threat to the browser, it alerts you and deletes the malicious entity after you grant it permission. Normally, the tool sends the metadata of the file and some system information to Google before a pop-up shows up. You can uncheck the “Report details to Google” checkbox to prevent it from sending the details of the malware file to Google. We recommend that you run the Cleanup Tool. Follow these steps:
Note: Another way to open the Settings page in Chrome is by typing “chrome://settings/” into the Omnibox and pressing Enter. Now follow the instructions below:
Use Chrome’s Task ManagerLike Windows, Chrome comes with a built-in task manager that allows you to monitor and manage tabs and extensions. The browser’s Task Manager has a simple and straightforward interface. It shows you the process IDs of subtasks and their individual memory footprints. This way, you’ll get to find out which process is consuming Chrome’s allocated memory and causing the problem. Here’s how to open and use the Task Manager:
Increase the browser’s memory limitChrome comes with a memory cap by default. The caps are different for 32-bit and 64-bit operating systems, and they’re set for each tab in the browser. Google Chrome is configured to save a tab’s operations to the system memory when the user has switched to a different tab. This way, the browser can easily display the tab whenever the user activates it without having to reload the webpage again. The default memory limit is normally enough for regular browsing. But if you’re working with websites that require huge memory, you can increase Chrome’s memory limit. The memory limit for 32-bit systems is 512MB, while the limit for 64-bit systems is 1.4GB. To change the limit, you have to modify the target link for Chrome’s Start menu shortcut. Follow these steps:
Note: All you’re doing is adding –max_old_space_size=4096 to the current target location. Don’t copy and paste the path above if it’s not the same as the target location in the Target box.
Increase your paging fileWindows creates a paging file on your hard drive when the main system memory reaches capacity. Also known as a swap file, the virtual memory is intended to supplement the main memory so that you don’t have memory leaks. The paging file also has its limit. Windows does not increase the file’s size if it’s set to automatically manage the page file. And if the size of the virtual memory isn’t sufficient to extend the RAM, you’ll experience issues. So, increase the page file and check if it has resolved the “out of memory” problem in Chrome. These steps will show you what to do:
Perform a clean bootOther applications can use up your system memory and cause Google Chrome to spit out the annoying error. Some of these applications are startups. They launch when Windows boots up and continue to run in the background. Running a clean boot will allow you to confirm whether a startup app is the cause of the problem and identify the culprit. To run your system in a clean boot state, you have to disable every startup program and service, then restart your computer. Firstly, follow these steps to disable startup programs:
Follow these steps to disable startup services:
After your system starts in a clean boot environment, open Google Chrome and load a website. If you don’t see the error message, you just confirmed that a startup program is behind the problem. To find the culprit, you have to enable one of these apps, restart your system, then check for the problem. If the first startup service or program doesn’t trigger the error, move on to the next. Continue until the error appears again, and make sure you take note of the last item you enable. You can follow these steps if you don’t want to go through the startup items one after the other:
However, if the error shows up after starting your system in a clean boot state, none of the startup items is the cause of the problem. Reinstall Google ChromeIf none of the methods above has worked, your next step should be reinstalling Chrome. At this point, it makes sense to suspect that some of the browser’s installation files are corrupt. Installing a fresh copy of Chrome’s updated version should get rid of the problem. Since your browsing history, extensions, apps, and passwords are attached to your Google account, you should have no problem with reinstalling the browser. The only thing that will happen differently is that the browser will have to load those services again. Follow these steps to remove Chrome from your system:
ConclusionThat’s how to fix Chrome’s “out of memory” issue. Remember to use specialized software such as Auslogics BoostSpeed to keep your system optimized. The program comes with tools that focus on keeping your system’s performance at the best level. |