[Jfilesync-news] memory usage
Brought to you by:
heidrich
|
From: Stefan H. <her...@ut...> - 2007-12-12 17:52:05
|
i tried JFileSync last day and this is what i experienced: windows2000, sp4, 1gb ram, java 1.5 source directory: 167.000 files target directory: already 164.000 files from an old backup of the source i started JFileSync with java -Xmx256m -jar \lib\jfsync.jar aprox. 4000 files were deleted in the target directory and 5000 new files copied to it. one second after the last copied file JFileSyn termineated with a OutOfMemoryError: java heap space. the task manager showed 370mb of memory for the java process. then i tried to synchronize a directory of aprx. 36.000 files with an empty target directory: java used 370mb of memory. why is so much memory needed just for copying files? then i did another synchronization with 10.000 files to an empty directory: used memory raised to 600mb (i don't know how java can do this with the -Xmx256m option?). after some repeated compare actions of the just synchronized directories java ended up with 656mb and another OutOfMemoryError. i like JFileSync because of its clear user interface, but is there a way to get along with such a number of files and a reasonable memory usage? btw, is it possible to exclude a directory pair from beeing compared/synchronized in a profile without deleting it? thanx, stefan |