I have lately been getting the error message The instruction at "0x62e2cc0f" referenced memory at "0x00000000". The memory could not be "written" in Microsoft Windows XP. This happened frequently when I tried to play certain avi video files.
I first thought that I had a memory problem, maybe defective RAM or bad sectors on my hard drive but soon found out that this was not the case. It took me a while to realize what it was. Once I knew where the error came from I was able to wave goodbye to the memory could not be written and watch all the avi movies on my system without problems again.
In my case the error message could be linked to the Data Execution Prevention feature which was enabled for essential Windows programs and services. It is designed to protect the system from viruses and other threats. It should be noted that it is not possible to disable DEP that easily. You need to edit the boot.ini file which is normally located in c:\ and change a parameter in there. Here is how you could do this:
Hit Windows + R and type cmd and press enter afterwards. Navigate to c:\ by typing cd.. until you are there. Boot.ini is hidden and write protected which means that we have to change that before we are able to edit it. Type the following commands:
The NoExecute command defines if and how Data Execution Prevention is enabled on your computer. The AlwaysOff parameter turns it off completely. I did not experience any messages of the kind "The memory could not be written" anymore after changing this parameter. Let me know if this helped you as well.
Other possible solutions
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.