I experienced the same issue for 3 of my games - BFBC2, Dirt 3 and Homefront. I did a search on how to disable the message but couldn't quite find a solution. I spent hours trying to stop the message, from disabling error reporting, to performance log reports, etc.. but still the message continued to appear when playing these particular games.
I finally found the solution - updating the game. Turns out certain games have a memory leak issue, using up all of the memory on your computer in a certain amount of time. There is nothing wrong with your computer, but with the game itself. Having just released Dirt 3, a recent update solved the problem. I hadn't updated BFBC2 and Homefront in a while, and when I did, no more messages appeared. I can't believe the solution was so simple.
Other solutions out there on the web includes changing paging file and changing RAM configurations from 1T to 2T. You need not do any of this. Just update your game.