Error "Memory cannot be written": how to fix it?

Errors like "Memory cannot be written" (0x00000000) or "Memory cannot be read" are mainly encountered by gamers. Most often, these failures occur when you start the tactical shooter PUBG and its components. Of course, it’s unpleasant to receive such notifications at startup, but you can’t blame the developers of this application for all the troubles. Here the user’s carelessness and some settings or prohibitions of the Windows systems themselves can play a cruel joke. The troubleshooting methods proposed below will be considered using the example of this game. They can equally be applied to other games or applications (for example, for working with multimedia), in which similar failures are observed. But first things first.

General description of the error "Memory cannot be written"

So, the situation, although unpleasant, is not critical. When the application error “Memory cannot be written” appears, as some experts believe, one should still rejoice, because usually when the memory access fails (and the error is associated with it) the death screen appears. But in the game PUBG, fortunately, only a failure message is displayed, so, hurry to fix the problem until it becomes global.

Generally speaking, the very nature of this failure consists in incorrect access to RAM cells and a conflict at the software and hardware levels. There are a lot of factors that can lead to the appearance of the “Memory cannot be written” failure, but among the main root causes the most common are:

  • improper installation of game components;
  • conflict with browsers;
  • Incorrect configuration of the DEP service
  • too high FPS settings in the control programs of video cards;
  • Outdated graphics drivers
  • incompatibility of the game with the operating system or computer mismatch with system requirements;
  • damage or lack of registration of the ole32 library;
  • Full-time error reporting service.

Naturally, this is not all that can affect the inability to start the game or configure its components. Nevertheless, the elimination of precisely these problems in most cases allows you to get rid of the error itself. Now let's move on to specific solutions for each specified item from the list.

Failure “Memory cannot be written” in PUBG: what to do first?

If you look at online forums where users share their problems, in particular regarding PUBG, Arena or Fear2 games, you can find a lot of practical advice. So, for example, many note that a failure with the notification “Memory cannot be written” in Windows 8.1 crashes constantly, and after updating the G8 to Windows 10 it disappears, as if by magic.

“Memory cannot be written” in Fear2

Another category of posts generally indicates a curious situation. It consists of the following: first the message “Memory cannot be written” appears, how to fix the situation, users prefer not to think, but simply shift the notification window beyond the edge of the screen and continue to play as if nothing had happened. And this is done only for the simple reason that when the message is closed, the game crashes. But if you do not touch the notification, you can put up with this situation. But this is not an option! If we are already engaged in fixing the problem, you need to approach in the most serious way.

But what users do not pay attention to at all is to install the Steam folder and save it anywhere, but not in the default location (D: \ Games \ Steam). Hence the problems. In addition, sometimes the game is installed in the final directory, the name of which contains Cyrillic characters. And this is categorically unacceptable.

Completion of unnecessary processes

Unfortunately, quite often you can find conflicts that arise between the executable components of the game and, oddly enough, Internet browsers. Sometimes browsers or their advanced settings may work in the background, although the applications themselves are not currently running.

RAM consumption by browser

If at the start of the game a crash “Memory cannot be written” appears, first start by calling the standard “Task Manager” and force shut down the active browser component (at least one can be found).

DEP Service Issues

Another common situation is related to the System Data Execution Prevention Service (DEP), which may interfere with the functioning of the TslGame.exe game component. “Memory cannot be written” is the very message that testifies to such a conflict.

DEP service shutdown

In this case, it is not recommended to completely disable the service (full deactivation can be used solely as a last resort), since you can limit it to using it only for system processes and applications in the performance parameters. Please note that the game itself and its components can be added to the list of exceptions. In principle, both work the same.

True, in very conflict situations, you may need to completely disable DEP.

Disabling the DEP service on the command line

This can be done through the command console, run as administrator, which sets the line bcdedit.exe / set {current} nx AlwaysOff. After the command is executed, it is also necessary to check the system boot parameters in the boot.ini file. you can open it in the usual Notepad, but the easiest way to find the file you need is through the Run menu, which combines the% systemdrive% \ Boot.ini combination.

Editing the boot.ini File

You can also use the tool shown in the image above. Here, in the line indicating the version of the bootable system, with a space, instead of “/ noexecute = optin / fastdetect”, enter “/ NoExecute = AlwaysOff” (without quotes) and save the changes.

Deactivating Management Utilities for Graphic Cards

Some utilities for graphics cards during operation can also cause the message “Memory cannot be written” to appear. This applies, for example, to programs like Overwolf or the RivaTuner Statistics System, which are some kind of overlays that allow you to set a frame rate limit. Their settings before starting the game you need to reset or disable the applications themselves entirely. Sometimes it is advisable to deactivate voice communication systems like Mumble, which in the game are able to show overlays with the names of gamers.

Update graphics card drivers

Finally, one of the global problems is outdated graphics drivers. In terms of installing their latest versions, using Windows tools is completely impractical. It is better to update with the help of "native" utilities designed specifically for a certain model range of video cards. Automated programs for finding and installing updated drivers like Driver Booster have also proven pretty good.

Using Compatibility Mode

Now a few more words about the error "Memory could not be written." TslGame - as one of the components of the game - often does not work correctly only because of incompatibility with the operating system. To fix problems, you need to find it using the default path C: \ Program Files (x86) \ Steam \ steamapps \ common \ PUBG \ TslGame \ Binaries \ Win64.

Setting compatibility mode

Then, through RMB on the desired object, you need to go to its properties and select the required version of the system on the compatibility tab. However, you can do without this by activating the override point of the zoom mode.

Checking the ole32.dll library

Finally, in part, problems may be associated with this dynamic library. To get started, start checking system files from the command console using the sfc / scannow command. If testing does not reveal anything, you can try to register this component again. To do this, call the Run menu and set the line regsvr32% SystemRoot% \ System32 \ ole32.dll for execution.

Swap file

If the problem is due to lack of RAM, and not to errors accessing it, you can slightly increase the page file. To get started, set the system-recommended size, which is usually larger than the one currently in use. If the failures continue, try to increase again, but at a maximum of no more than 50%, above the recommended threshold.

Bug reports

And the last thing you can do is completely disable the system for sending crash reports to the appropriate Microsoft services.

Disabling Error Reporting

Such procedures can be performed in the “Support Center”, where the item for prohibiting sending is activated, although it will be marked as a recommended action in the system.

If nothing helps

If none of the proposed solutions gives an effect, roll back the system until the moment when the failure was not observed. It would also be nice to check the computer system for viruses, otherwise you never know what. Perhaps they are precisely the root cause of this kind of error. If the portable scanners recommended for checks in such situations do not reveal anything or the threat cannot be removed, use disk programs like Kaspersky Rescue Disk, boot from removable media and check the computer before starting Windows. This utility is just capable of detecting viruses in RAM.

However, speaking of which of the above, it is best to use it, in most cases, as it is believed, disabling the DEP service helps. True, the variant of damage to the RAM strips themselves is also possible. In such a situation, if there is such an opportunity, they need to be removed from the slots on the motherboard one by one, and after turning on the computer, watch how the game behaves. If a failed component is detected, it will need to be replaced. If this option does not fit, you can test the RAM with Memtest86 +, but to work with it you need the necessary knowledge and skills.

Source: https://habr.com/ru/post/K21339/


All Articles