Each time after a compare / sync the used RAM shown in the Task Manager, tab "Performance" (or other programs) e.g. is about 1,5 GB bigger than before the compare / sync. E.g. RAM before syncing / comparing (in tab "Performance") is about 2,5 GB, after (and still after closing FFS) 3,8 GB.
In tab "Processes" the RAM FFS uses (when it is opened, when it is closed there is no RAM shown for FFS) is shown with e.g. 10.000 to 20.000 k, if I remember it right after comparing, syncing.
How could I free the RAM? Respectively avoid the use of that many RAM?
After comparing / syincing and closing FFS RAM not released?
- Posts: 16
- Joined: 16 Mar 2013
- Posts: 6
- Joined: 22 May 2013
I am also having problems with FFS not releasing memory. I am using 5.15 64bit and copying about 900 GB of data. When FFS is running it uses about 2 GB of memory and when it is done it releases most of it but not all.
- Site Admin
- Posts: 7211
- Joined: 9 Dec 2007
Can you specify what you mean with "FFS not releasing memory"? Probably screenshots may help to understand what you are doing.
- Posts: 6
- Joined: 22 May 2013
my system is using 14 gb out of 32gb when I run FFS I see the memory usage go to 16 gb once the program is done with compare and also synchronize it keeps the 2 gb of memory ( I am using process explorer by sysinternals to see usage) when I quit FFS, I see it releasing all the memory ( slowly and it takes about 10 seconds to close while it releases memory ). once it is closed I see that 14.2 gb are being used. Next time I run the program I might loose another 100meg or 50meg the amount is random but it happens every time I run FFS and there is a lot of data to copy ( like 30gb or 50gb ).
Thank you.
Thank you.
- Site Admin
- Posts: 7211
- Joined: 9 Dec 2007
How many files are you scanning? The amount of memory after comparison corresponds to the total number of existing rows (not only the number of rows shown).
What numbers in Process Explorer are you monitoring in particular? I'd be interested in a screenshot of the "Performance" panel.
What numbers in Process Explorer are you monitoring in particular? I'd be interested in a screenshot of the "Performance" panel.
- Posts: 6
- Joined: 22 May 2013
these are the processes before FFS
memory usage is 16.5 before running FFS
after running compare FFS was taking 6.2 gig of memory
There were 200GB to be moved to a backup drive doing a mirror about 7000 files.
FFS finished and I closed it. This pic is programs running after FFS closes same as before all of them using the same amount of memory
But wait this shows that there are 2 gigs missing and the only program that ran was FFS in mirror mode ( as far as I know, it only does it in "Synchronization settings" mirror mode)
memory usage is 16.5 before running FFS
after running compare FFS was taking 6.2 gig of memory
There were 200GB to be moved to a backup drive doing a mirror about 7000 files.
FFS finished and I closed it. This pic is programs running after FFS closes same as before all of them using the same amount of memory
But wait this shows that there are 2 gigs missing and the only program that ran was FFS in mirror mode ( as far as I know, it only does it in "Synchronization settings" mirror mode)
- Site Admin
- Posts: 7211
- Joined: 9 Dec 2007
> after running compare FFS was taking 6.2 gig of memory
> There were 200GB to be moved to a backup drive doing a mirror about 7000 files.
Wow, are you sure FFS was only scanning 7000 files (I'm not talking about the number of actual files transferred, but the number of files existing on both sides)? For a memory consumption of 6.2 GB I would expect a row total of about 10 million file pairs.
>there are 2 gigs missing
You are referring to the "Physical Memory"? I do not understand how Physical Memory can be larger than System Commit - latter should be the sum of the memory used in the paging file plus physical memory used. Anyway, from the operating system's point of view all that matters is the System Commit, and it even went down from 4,984,728 to 4,712,928.
> There were 200GB to be moved to a backup drive doing a mirror about 7000 files.
Wow, are you sure FFS was only scanning 7000 files (I'm not talking about the number of actual files transferred, but the number of files existing on both sides)? For a memory consumption of 6.2 GB I would expect a row total of about 10 million file pairs.
>there are 2 gigs missing
You are referring to the "Physical Memory"? I do not understand how Physical Memory can be larger than System Commit - latter should be the sum of the memory used in the paging file plus physical memory used. Anyway, from the operating system's point of view all that matters is the System Commit, and it even went down from 4,984,728 to 4,712,928.
- Posts: 6
- Joined: 22 May 2013
yes, the total files compared was 21,000,000. out of those 7,000 files where copied to back up drive. Thank you for a program that is able to manage such amount of data.
and Yes again, the 2 gigs missing that I am referring to is "Physical memory" being used which went from 16.5 to 19.1 even after closing the program. I assumed that if "Physical Memory" showed as being used and no program is using it then it can not be recovered. This back up is run only once a month and this is the 2nd time I notice this in as many months.
Again, Thank you for your replies.
and Yes again, the 2 gigs missing that I am referring to is "Physical memory" being used which went from 16.5 to 19.1 even after closing the program. I assumed that if "Physical Memory" showed as being used and no program is using it then it can not be recovered. This back up is run only once a month and this is the 2nd time I notice this in as many months.
Again, Thank you for your replies.
- Posts: 6
- Joined: 22 May 2013
Finally figured out what is going on with memory. Windows is taking memory for its I/O cache and it does not release it. Since FFS is doing most of the I/O it just seems like it is the one taking all the memory. To see if this is your problem first check this article http://wasthatsohard.wordpress.com/2011/03/01/high-memory-usage-windows-server-2008-r2-file-server/ and use the tools they are using, like ramMap from sysinternals then if your problem is the same as mine go here for the links to dyncache.exe or SetSystemFileCacheSize http://social.technet.microsoft.com/wiki/contents/articles/6925.how-to-prevent-filecache-to-eat-up-all-the-ram.aspx?Sort=MostUseful&PageIndex=1
thanks again for FreeFileSync hope you got my donation and will try to send you some more.
thanks again for FreeFileSync hope you got my donation and will try to send you some more.