Kinect SDK corrupt memory error

Aftab Aamir picture Aftab Aamir · Mar 10, 2014 · Viewed 51k times · Source

I have made a program in XNA using Kinect SDK. The program is running perfectly fine in my pc, and many of other PC's, but in one system when I open this program it gives me the following error:

 Attempted to read or write protected memory. This is often an indication that other memory is corrupt. 

The program stops and it gives me the error message in spritebatch.End().

I am unable to understand why its giving me this error message.

The system I am using has 4GB Ram, and the system which is creating the problem has 2GB RAM. Both systems are CORE2 Duo. Is the memory the issue or is it something else?

Answer

user3256944 salutes Monica picture user3256944 salutes Monica · Mar 10, 2014

Yes this could be a memory issue. Take a look at the answer in http://social.msdn.microsoft.com/Forums/en-US/71f134bd-d665-43b5-8c67-52c4d6ed4ed9/kinect-driver-problem?forum=kinectsdknuiapi. Restart the system, stop all unnecessary processes (to minimize memory usage) then try running the program again.