Go Back   Scooter Forums > Beyond Compare 3 Discussion > FTP
Register FAQ Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 19-Mar-2012, 08:48 AM
aldass aldass is offline
New User
 
Join Date: Nov 2009
Posts: 1
Question large disk space usage and temp folder

When comparing two different FTP folders a large amount of disk space is consumed on drive C: (its also where BC is installed). Assuming BC3 is pulling files down to a local temp folder and then doing a compare, is there any way I can set the location of this temp folder to something other than drive C:\ ?

Version 3.3.4 (build 14431)
Reply With Quote
  #2  
Old 19-Mar-2012, 12:54 PM
Aaron Aaron is offline
Team Scooter
 
Join Date: Oct 2007
Location: Madison, WI
Posts: 6,805
Default

Hello,

BC3 will pull down temporary files if you are running a content comparison scan (binary, rules-based).

If your FTP server supports the xCRC command, BC3 can perform a crc comparison without downloading the files first.

Using a date/timestamp comparison would not download the files for comparison.

The temp files go to your Windows temp folder (%temp%). If you change where windows stores temporary files (where the variable %temp% points), then we will use the new location. To see where your current location is, type %temp% into My Computer/Windows Explorer's location bar.

The disk space should only be used while the file is still in queue for comparison, and is removed immediately after it is compared. If one FTP is significantly faster than the other, it may "get" its files first and then wait while the other ftp delivers its files for comparison, but we do not just download everything and then compare it.
__________________
Aaron P Scooter Software
Reply With Quote
  #3  
Old 13-Apr-2012, 04:22 AM
bigfoot bigfoot is offline
Journeyman
 
Join Date: Mar 2012
Posts: 10
Default

You mentioned the temp folder setting in Windows, how about in Unix, how do we set the temp folder to another location ?

We are comparing very large files (multiple users comparing big files at the same time), the respond time of BC3 was very slow and we keep getting "stream write error" in many occasions. and we have to go to temp folder to delete files to release disk space.

Other then increasing the disk space alocated for the temp folder, could you suggest other ways on how we could further optimise BC3 so that we could be more productive comparing large files?

Thanks in advance
Reply With Quote
  #4  
Old 13-Apr-2012, 08:35 AM
Aaron Aaron is offline
Team Scooter
 
Join Date: Oct 2007
Location: Madison, WI
Posts: 6,805
Default

We use the Unix temp location of /tmp. If you mount this location to somewhere other than C:\, then we should point over to it when it is used.

Between your two FTP servers, is one substantially faster than the other? One possible reason for this behavior is we try to download all the files we can and compare them, then delete the temp information. If one FTP is faster, we will end up grabbing more files from that one.

One test for this would be to cut your current comparison into smaller parts, either by using subdirectories as base folders, or by using File Name filters to exclude sets of files. That way, the smaller compare will at most download the entire of one side, compare against it as it can as the slow side downloads, and clear out space as it can.
__________________
Aaron P Scooter Software
Reply With Quote
  #5  
Old 12-Jul-2013, 11:24 AM
toxandre toxandre is offline
New User
 
Join Date: Jul 2013
Posts: 1
Default Use environment variable instead of system TEMP folder

Hello,

Do you believe that you could plan to implement the usage of a environment variable, something like BC_TMP_DIR, that would override the use of default system tmp folder for the application if set?

Thanks.
Reply With Quote
  #6  
Old 12-Jul-2013, 02:15 PM
Chris Chris is offline
Team Scooter
 
Join Date: Oct 2007
Location: Madison, WI
Posts: 3,898
Default

It looks like BC actually uses the TMP environment variable, not TEMP.

We don't have plans to create a custom environment variable to determine where to store temp files.

However, you can wrap your call to Beyond Compare in a batch file to change the temp folder location for Beyond Compare.

Example runbc.bat file, tested on Windows 7 64-bit with BC 3.3.8:

Code:
set TMP=C:\Users\username\Desktop\BCTemp
"c:\program files (x86)\beyond compare 3\bcompare.exe"
__________________
Chris K Scooter Software
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 02:14 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.