1

I have a VS 2005 application using C++ . It basically importing a large XML of around 9 GB into the application . After running for more than 18 hrs it gave an exception 0xc0000006 In page error. THe virtual memory consumed is 2.6 GB (I have set the 3GB) flag.

Does any one have a clue as to what caused this error and what could be the solution

sameer karjatkar
  • 2,017
  • 4
  • 23
  • 43

3 Answers3

3

0xC0000006 is STATUS_IN_PAGE_ERROR. As people much wiser than me already say, When you start getting in-page errors on your hard drive, it's time to go shopping for a new hard drive.

Sedenion
  • 5,421
  • 2
  • 14
  • 42
Remus Rusanu
  • 288,378
  • 40
  • 442
  • 569
2

Probably you are out of memory. Can you run it again on a 64 bit machine?

1800 INFORMATION
  • 131,367
  • 29
  • 160
  • 239
  • 2
    Programs often do inexplicable things in response to OOM conditions. There is little to be gained from trying to figure them out, unless you have a requirement to run under low memory conditions – 1800 INFORMATION Jun 09 '09 at 09:02
1

A bit late, but maybe it will help someone.

If you are getting this error while starting the application from a network drive, try setting linker flag /SWAPRUN:NET in your vc++ project.

Disclaimer: I found this solution here

Bojan Hrnkas
  • 1,587
  • 16
  • 22
  • More info about this here: https://stackoverflow.com/questions/20050368/unable-to-start-applications-from-network-0xc0000006 – GetFree Jul 31 '21 at 12:22