Arduino: read a specific line from SD card

Correct me if Im wrong, will this code still work even if I have 20k number of lines in a single file?. How much memory can the arduino take? Ive read some post about their arduino crashing because of ow memory. Or maybe my understanding with this is wrong. sorry im new to these type of things. Bare with me

And what is exactly the difference between '\r' and '\n'. When can I use or the perfect time I can use those?