Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: All memory used when copying files from Truecrypt container

02 Aug 2016   #1
morph000

Windows 7 64 bit
 
 
All memory used when copying files from Truecrypt container

I'm in the process of moving data from a WD 3TB USB drive to a larger WD 5TB USB drive, so there is a LOT of data to move around.
While this is in all probability a Truecrypt (TC) issue, it doesn't hurt to ask anyway!
I have a quad core i7 pc with Win 7 Home and 16GB RAM, which is the limit for that OS.
When I copy or move files TO the encrypted container file FROM the main pc, all is well. I can move huge files no problem. Today for example I copied a 130 Gigabye file no problem. RAM sat at around 8GB used.
When I copy or move files FROM the encrypted container on the 3TB drive TO the pc, RAM usage climbs rapidly eventually consuming all system RAM, which slows the pc to almost being unresponsive. If I keep the size of the file being moved to around 5-8GB, I can stop the pc going as unresponsive but somewhat sluggish.
The problem is that I have a LOT of files to move.
This is a one-way issue (from encrypted source to unencrypted destination) and even Truecrypt's successor of Veracrypt is getting reports of the same issue. Other Truecrypt users have reported the same issue too. It looks to be a bug, but of course TC is defunct now.I tried Veracrypt and it suffered the same problem.


I disabled caching for C: but that just made copying VERY slow and the memory usage climbed to full as before albeit slowly.
The best "solution" I have so far is to mount the TC file as removable and shutdown all non essential running programs to conserve RAM and help stability.
There seems to be no shortage of people suffering from "full ram while copying" issues across different OS'es so maybe no answer is forthcoming...
I tried 3rd party copying apps but no solution there either.


Is there a way of limiting how much RAM can be used for caching?


Any ideas


My System SpecsSystem Spec
.
02 Aug 2016   #2
Eric3742

Windows 7 x64
 
 

Have you try to extend or give more space for the pagefile.
Pagefile is part of the RAM.

Virtual Memory Paging File - Change
My System SpecsSystem Spec
02 Aug 2016   #3
morph000

Windows 7 64 bit
 
 

I looked at it and increased it 50% as Windows suggested.
Made no difference...
My System SpecsSystem Spec
.

03 Aug 2016   #4
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Check this: https://sourceforge.net/p/veracrypt/...fb8c352d/#96f5

You might also test copy/ move a few files using this: TeraCopy for Microsoft Windows - Code Sector
My System SpecsSystem Spec
04 Aug 2016   #5
morph000

Windows 7 64 bit
 
 

Thanks.

I have however seen that thread and countless others. I do use cascading encryption, but the strange thing is that, as per my original description, this memory usage is strictly one way.
If cascading encryption was the cause then you'd reasonably expect it to cause problems when writing to the encrypted container too. Similarly for file caching etc etc.
It's another "too hard basket" one by the looks of it...
My System SpecsSystem Spec
04 Aug 2016   #6
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

The thing is that I have both TrueCrypt and VeraCrypt installed and both work without problems. If I could reproduce the problem it might help. I wonder if you have any "process taming" types of software installed?

Will check RAM usage (RAMMap) when copying large files later as I'm using a different machine at the moment.
My System SpecsSystem Spec
04 Aug 2016   #7
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

So Truecrypt 7.1a and Veracrypt 1.0f are working fine for me. Both are 64bit versions.

Copying a 2.4 GB folder. Memory used is steady at 2.03Gb (usage is usually 1.69Gb with only background programs running)
All memory used when copying files from Truecrypt container-tc-memory.jpg
Nothing shows up anywhere in RAMMap as using an increasing amount of RAM.
All memory used when copying files from Truecrypt container-tc-rammap.jpg
That's probably not much help.


My System SpecsSystem Spec
06 Aug 2016   #8
morph000

Windows 7 64 bit
 
 

Ok.. try copying say a 40GB file and see what happens... a few GB are nothing for me too...
My System SpecsSystem Spec
06 Aug 2016   #9
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

Sorry but the largest single file that I can find to copy is only 1GB so can't test very large files.
My System SpecsSystem Spec
06 Aug 2016   #10
Callender

Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
 
 

I don't know if this will work but try copying files using FastCopy and change the buffer size. For me increasing buffer size to the maximum also increases RAM usage drastically. So a lower buffer size should result in less RAM usage but slower transfer rates. I can't find a way to adjust buffer size in TC or VC so I suppose it depends upon the application used to do the file copy.
All memory used when copying files from Truecrypt container-fastcopy-ver3.13.jpg


My System SpecsSystem Spec
Reply

 All memory used when copying files from Truecrypt container




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Memory fills up to 90% and never goes down with Truecrypt - on or off!
Hi! first post! I have been using truecrypt on my win7 ultimate x64 with 4gb RAM, usually I have 15%-30% memory used when idling or with firefox open. When I mount a truecrypt volume, the memory hits 90% and everything slows down. Even shutting down truecrypt fully doesn't help.. a full...
Performance & Maintenance
TrueCrypt - Recover Corrupt Container
How to Recover a TrueCrypt Container with Corrupt Header Information TRUECRYPT is a free open source application that allows you to encrypt files, folders, partitions or even entire physical drives. It is a very useful alternative to Windows Bitlocker Drive Encryption, which is only available...
Tutorials
Memory consumption when copying files / installing
Hi All, I have a problem that whenever I start copying files or install a program, my physical memory consumption goes to 100%. When I look at the resources, not process seems to be using this memory. I've tried to disable write-cache, it helps in a way that it takes windows a little more...
Performance & Maintenance
Copying large files consumes too much memory
Hi, I have problem. When I'm copying large files from from C disc to D disc (two phisical hdd drives) it consumer all my free memory. First it starts really fast, transfer rate is cca. 80-90MB/s, and when it fills all avaliable memory (I'm monitoring task manager) then it starts to slow, to...
General Discussion
Copying files to USB flash memory freezes win7
Hi guys, another annoying thing.. Just wanted to copy some file to microSD over memory card reader. (I've tried two different memory readers) I have two mice, MX revolution which is being used at all times and MX Air, the secondary mouse when I sit on sofa. As soon as I start copying files MX...
Hardware & Devices
Memory Leak when Copying/Selecting Word files
I wondered if anyone has had similar problems or knew of a fix. Every time I select a word file on my c drive (which is the partition that holds my old vista files) the memory leaks and my machine freezes up until I can kill the process.
Microsoft Office


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 12:36.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App