Java does not finish txt file, generates txt more than 100MB

Asked

Viewed 50 times

-1

My output file, not for what reason, now does not finish, if let running creates text file with more than 1GB, just so if I terminate the process in task manager, in the link above this the code of my application, file opening and closing, but be in loop, I can’t find the problem.

For greater understanding see: Java - Read file and Write output to . txt

1 answer

0

Note that in the answer of the other question the excerpt that records the information has a "//omitted" comment because it was to join with your code. At that stretch if you remove the command to read new line it will not follow in the file and will loop.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.