We help IT Professionals succeed at work.

Windows Server 2008 High memory usage during copy process

Mc2102
Mc2102 asked
on
Hello,

I have a Windows Server 2008 x64bit runs overall without a problem but when I copy a large file - lets say 15G to the server then the memory usage starts growing and growing until all 12G are used up and the server gets very very slow. I tried a bunch of diffrent things and I found several diffrent posts about this where people reported about this issue but none of the proposed fixes worked for me.

Does anybody has an idea how to fix the issue?

Thank you
Mc2102
Comment
Watch Question

Commented:
Probably there's no fix but I think there's nothing wrong in such behavior.
It occupies only free memory and uses lowest possible memory priority. So it's freed immediately if anyone can use this RAM better. If RAM is not used at all - why do not use it for caching...
Server doesn't slow down. Only thing seeming to be slower is progress bar for copying. But this is wrong implementation of progress metering. Not server speed.

I know it looks strange. But it makes sense.
Qlemo"Batchelor", Developer and EE Topic Advisor
Top Expert 2015
Commented:
I have to agree, there is nothing wrong with that behaviour. Can you explain why you think the "server gets very very slow"?

Author

Commented:
Hello,
Thanks for you answers. I agree with you since Windows 7 64 bit acts the same way BUT it does not ceap all the memory as in my case and the server slows down.

But after some more testing I actually dis covered that the write performance if the RAID 5 volume which the server runs on is more the lousy - 7MBit\s - that is bad. After I installed Windows 7 64Bit and upgraded the RAID driver it speed up a little 25M\Bit but that is still far from being a good performance.

So I think the issue is located there.

Not sure yet how I can get that under control. The motherboard is a ASUS board with a Interl RAID controller - I guess my best bet is to get in touch with ASUS and ask them for help.

Commented:
It's normal Windows behavior. You can ask ASUS, play with RAID settings etc. But in my opinion it will not give you desired results.
Of course you should play with performance tuning to obtain good results but it doesn't affect RAM usage.

Author

Commented:
Hello,

Backed up one of the servers, deleted the RAID 5 volume, created a RAID 0 volume and restored the server and now the performance of Windows Server 2008 is like flying. If I copy a file from drive C:\ to drive D:\ I receive a throughput of 350M\s which is really awesome. Through the network I get 100M\Bit constant. The memory still jumps up a litle during the copy process but then stops arround 1.6G.

So I guess what happened is that when I copied the files over the network started caching the data into the RAM because it was not able to store the files fast enough on the HDD - exactly as the two of you said.

I will close this case and get in touch with ASUS and ask them if there is a fix available for the RAID5 volume performance issues but I am worried there is not and I have to admit I love the speed of the server right now - I will just have to change my backup schedule a little bit.

anyways thanks a lot for pointing me into the right direction.