how to read a file which contains more than 95000 <95 thousand> lines in java.
techgig 0 Newbie Poster
Recommended Answers
Jump to PostWhat kind of problems are you running into? If you can read a couple of lines, you can read 95K lines...
Jump to PostAnd think about whether you actually need all "95000 lines" in memeory at the same time. You would be better off reading a line, processing that line, reading the next line. Only rarely do you actually need all of the data in memory at the same time.
All 6 Replies
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster
techgig 0 Newbie Poster
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster
masijade 1,351 Industrious Poster Team Colleague Featured Poster
tamaris 0 Newbie Poster
jclawson000 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.