Reading 250,000,000 values from sensor and storing it on SD card

Doing just that will result in code that does not compile or do what OP expected..

I just tried it and compiles fine. But your remark does not do what the OP expected.