I have a simple Linux script calling a java library.
The java standalone program reads from table and dumps it into a file. It does tis activity for some 300 tables. There is a check which compares the file size in bytes after creation and the total size in bytes as read from the table.To add the bytes read from table they use a wrapper class on PrintWriter.
Sometimes it gives a mismatch. I thought if there is not enough memory it happens.
What may be the real problem?
If I increase the memory of the Linux box will it solve the problem.