Search code examples
javafilesystemsntfscorruptionsolid-state-drive

Can SSD corruption change characters in a txt file?


I have a java application that reads from a bunch of text files (about 50gbs worth). each file is anywhere from 5kb to 35mb. The files themselves are created from another java application that is run on demand but hasnt been run in around a week. the file uses a number of delimiters like

| ; ,

My app has been runnin fine but started throwing an error recently with a number format exeception. upon examination I see that one of the commas has been flipped to a $

0.43916,22970.43081,6.76182$527640691.38786,|10,

My question is this. Is this possible that this "flip" is happening because of drive corruption? It seems a bit farfetched that only 1 character in the entire file would change. Timestamp on the file verifies that it wasn't "accidentaly" modified by another program.

I'm really scratching my head on this one.


Solution

  • Turns out it was drive corruption. Ran a CHKDISK and came up with errors.