All memory used when copying files from Truecrypt container

Page 1 of 2 12 LastLast

  1. Posts : 46
    Windows 7 64 bit
       #1

    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 Computer


  2. Posts : 708
    Windows 7 x64
       #2

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

    Virtual Memory Paging File - Change
      My Computer


  3. Posts : 46
    Windows 7 64 bit
    Thread Starter
       #3

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


  4. Posts : 4,776
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #4

    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 Computer


  5. Posts : 46
    Windows 7 64 bit
    Thread Starter
       #5

    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 Computer


  6. Posts : 4,776
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #6

    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 Computer


  7. Posts : 4,776
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #7

    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 Computer


  8. Posts : 46
    Windows 7 64 bit
    Thread Starter
       #8

    Ok.. try copying say a 40GB file and see what happens... a few GB are nothing for me too...
      My Computer


  9. Posts : 4,776
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #9

    Sorry but the largest single file that I can find to copy is only 1GB so can't test very large files.
      My Computer


  10. Posts : 4,776
    Microsoft Windows 7 Home Premium 64-bit 7601 Multiprocessor Free Service Pack 1
       #10

    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 Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About 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 06:02.
Find Us