Out of Virtual Memory?

Out of Virtual Memory?

7
NewbieNewbie
7

    Feb 26, 2013#1

    I just updated to UC 8.50.0.1017 on my windows 7 Pro machine this morning, and I'm suddenly seeing random "Out of virtual memory! This comparison will be aborted" messages. Sometimes it will work uneventfully, a lot it won't. I've tried it going directly into the program from the start menu as well as a right click and loading the files that way, doesn't seem to matter.

    I've been using UC and UE for many years now, and this is a new error message. I don't get it with any other programs at all on this machine, so I'm inclined to believe it is a result of this upgrade.

    Anyone else seeing this or have a fix?

    TIA

    elaine
    Ivy, VA

    6,680583
    Grand MasterGrand Master
    6,680583

      Feb 27, 2013#2

      According to what you wrote it looks like that this is indeed an issue of new version of UC.

      But you should verify it by looking in Windows task manager how much free RAM you have on starting UC and how much free RAM is available after a compare which fails.

      Also when have you last time used the Windows disk cleanup tool in Accessories - System Tools to clean the folder for temporary files (and other files and folders which can be safely deleted)?

      You can clean the folders for temporary files also manually by
      • restarting Windows to make sure that any silent security update, installation or uninstallation process with files currently in temporary files folder can finish,
      • enter in address bar of Windows Explorer %TEMP% and hit key RETURN to open this folder (temporary files folder of the current user acccount),
      • delete with Ctrl+A and Shift+Del all files and subdirectories in this folder with ignoring the temporary files currently opened by running applications which cannot be deleted,
      • enter in address bar of Windows Explorer %windir%\Temp and hit key RETURN to open this folder (temporary files folder of the system acccount),
      • delete with Ctrl+A and Shift+Del all files and subdirectories in this folder with ignoring the temporary files currently opened by running applications which cannot be deleted. You need administrator privileges to delete files and folders in %windir%\Temp.
      The Windows disk cleanup tool deletes only the files and subfolders in %TEMP% older than 7 days and does not delete anything in %windir%\Temp as non administrator user accounts do not have the permissions to delete files and folders in the TEMP subdirectory of the Window directory.

      More than 2 GB of RAM can be used only by 64-bit applications (which often must be additionally written to use so much RAM at the same time). UltraCompare is a 32-bit application and therefore can use just up to 2 GB. And the total amount of free memory does nothing state about largest continous free memory block. Let's say there is in total 4 GB of free memory, but an application needs a 200 MB memory block, it can easily happen that the operating system returns to the application that there is no free memory for 200 MB because the entire RAM is used fragmented. In such situations users often wonder why a program fails to allocate memory although according to task manager there is enough free memory. What the user does not see in task manager is the memory fragmentation.

      And all free RAM does not help if an application needs too many system resources. Windows cannot handle an unlimited number of system resources. Some articles about Windows memory management:
      I suggest to run compares on large files with thousands or millions of differences without GUI as command line compare using the command line options with the comparison results written to a file instead of displaying them for visual inspection. A visual inspection of the differences in GUI does not make much sense on large files with thousands of differences. Thousands of differences being inspected by human eyes is not really practicable, isn't it.

      7
      NewbieNewbie
      7

        Feb 27, 2013#3

        I will try to remember to check that, Mofi, good thought, but I've seen this error on other misconfigured or older systems (not mine :) before, and as noted, this is the first time it's appeared here on ANYTHING. For the record, I'm an IT professional (and an admin on my own machine), and I keep my system as squeaky clean as I can at all times. I agree with you that the windows disk cleanup tool is pretty lame :) and I normally use CCleaner for temp files (and a bunch of other good tools for other assorted maintenance tasks, etc) as it does a FAR better job. Whatever the problem is, it's probably not related to temp files, well, long-term temp files, or the like. AFAIK, of course :)

        elaine