HI All,
I want compare 2 flat files which contains data from database .
i should compare the old file with new files and want to create 3 files
which are deleted , added , modified
delete should contain the data which are not there in New File
added should contain the data which are not there in Old file
modified should contain which are values modified in new file .
i have written code for this using java it works for smaller files . but as the file size increase it is giving me Out of Memory exception .
i tried by increasing the Jvm memory . but nothing is working can any one tell me any other way .
i am using ArrayLIst to store the values
Thanks in advance
I want compare 2 flat files which contains data from database .
i should compare the old file with new files and want to create 3 files
which are deleted , added , modified
delete should contain the data which are not there in New File
added should contain the data which are not there in Old file
modified should contain which are values modified in new file .
i have written code for this using java it works for smaller files . but as the file size increase it is giving me Out of Memory exception .
i tried by increasing the Jvm memory . but nothing is working can any one tell me any other way .
i am using ArrayLIst to store the values
Thanks in advance
Comment