Read data (large file) in R causes: InPageError, Error Status Code: c000009c, Faulting Media Type: 00000003

I want to load a big data set (6GB) in R (or Rstudio), as I do on my other (W10) computers. (My setup: W10 64bit, 36GB RAM, C:\PageFile.Sys 5GB, C:\SwapFile.Sys 16 MB). However: rsession.exe crashes with the following error message:

Source
RStudio R Session

Summary
Stopped working

Date
‎01.‎11.‎2019 11:32

Status
Report sent

Description
Faulting Application Path: C:\Program Files\RStudio\bin\rsession.exe

Problem signature
Problem Event Name: InPageError
Error Status Code: c000009c
Faulting Media Type: 00000003
OS Version: 10.0.18362.2.0.0.768.101
Locale ID: 1031
Additional Information 1: b71d
Additional Information 2: b71d8101b6bd282ea0fc6ccefaf1d923
Additional Information 3: cab4
Additional Information 4: cab4704ae78e462d34c9edc6b1e89123

Extra information about the problem
Bucket ID: 7d2749361dc05922d6a071409bc80d44 (470146)


I searched the web: There is nothing exactly the same, but many old posts on W7 with similar error codes, but different applications and no common understanding how to fix it. Might be a messed up Windows installation, RAM or hard drive error or ... So I'm trying the annoying step by step error exclusion.

I tried the following:

  • Reinstall R and Rstudio

  • try different ways to read the data (read.csv, read_csv etc.)

  • Windows Memory Diagnostic: "The Windows Memory Diagnostic tested the computer's memory and detected no errors"

  • CHKDSK: "Windows has scanned the file system and found no problems."

  • Running a Western Digital HDD diagnostics tool (extended test), which ended after several hours with "FAIL Too many bad sectors detected - Test stopped with errors(s)." :-( Seems like I need a new hard drive!

  • I tried to read the data from an external hard, which works, thus I gonna exchange my hard drive and assume the problem will be fixed.

  • My next steps would have been:

    • boot Ubuntu and try to read the data from there (exclude Windows error)
    • run more in-depth diagnostics on my RAM
    • Restore Windows to a restore point
    • Repair Windows
    • Reinstall Windows
    • test individual RAM blocks by leaving only one of them in the computer
    • Buy a new computer
    • Change my job
7

1 Answer

Among other issues, HDD errors can cause the problem. In my case the HDD needs to be exchanges. Other possible options for the error may be described above.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like