I need to read a large text file (90 MB) file da replace a pattern let be 'xyz' with 'PQR' .I need to create a new file with this change.
How can this be done in most efficent way in minimum time.
I did it in a way but it took 25 mnts
Also i tried with BufferedInputStream and stringbuffer.But igot out of memory error.I dont want to increas the heap size and try it.
Please help me in the approach i should choose