I’m comparing some text files between local and network share(each file can contain around million of lines…) and if the local content is different I’m creating an object.
The files that I’m comparing are containing in each line: path to file, size and md5 sum.
So the the class that I’ve prepared is similar.
After monitoring I saw that the processing and creating the objects is memory consuming.
Do you have any idea what to do instead of creating that much of objects?
This will be needed after all to determine which files needs to be updated so I need somehow to store the path & size of file.