Help and Support

Article ID: 952623 - Last Review: May 1, 2008 - Revision: 1.1

Analyze.exe continues to run after reaching 100% complete pass 4 of 4 and takes unreasonable long time to finish.

Expand all | Collapse all
Source: Microsoft Support

RAPID PUBLISHING

RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.

Action

Running locally analyze 6.0 on a relative small SourceSafe database.

Result

Analyze.exe 6.0 continues to run after reaching 100% complete pass 4 of 4 and takes unreasonable long time to finish.

Cause



When analyze 6.0 reaches this step it is attempting to rebuild the labels folder in the data directory.  This step can potentially take as long or longer than the previous 4 passes since analyze is attempting to build Labels directory from information stored in the log files.

This step can take particularly long time if:

1. There are lots of labels with the same first 8 characters.

2. There are lots of labels 

3. There are very large label files in the data\labels directory

(Note: Creating individual file level labels with the same name over time instead of creating project level labels can lead to very large label files)

Resolution



There is no easy way to get rid of these large size label files, especially when labels were placed on individual files.

Analyze 6.0 makes a backup of the labels directory under data (data\backup) before deleting the contents in data\labels and starting the rebuild of the data\labels directory from scratch.  If the analyze -f run is stop prematurely during the labels rebuild process a copy of the labels directory can be restored by copying the backup\labels directory into the data\labels directory.



Running analyze 6.0 in the check mode without the -f fix switch does not rebuild the labels directory.

e.g.

analyze.exe  <path to the data directory> -x -v4

More Information



Analyze 2005 does not rebuild the labels directory in the same way as analyze 6.0 by default unless you run analyze 2005 with -fl switch.

It however can also get stuck or spend a lot of time in the labels rebuild process in a different part of the analyze run known as the datawiz reference checking.

 One way to work around the problem is to avoid rebuilding labels during analyze run, to do that you need to run analyze 2005 version with switch -refv6, the command line syntax would be:

analyze.exe  <path to the data directory> -refv6 -f  -v4

Alternatively you can run analyze in the check only mode



analyze.exe  <path to the data directory> -x -v4



And follow that run up by running Analyze -f against the bad file. (This path assumes you have a backup folder.)

 

Analyze -f  -c -db @<SourceSafe data path>/backup/analyze.bad  <SourceSafe data path>

 

e.g.

 

ANALYZE -f -c  -db  @c:\vss\data\backup\Analyze.bad c\vss\data

 

DISCLAIMER

MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE “MATERIALS”) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.

TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.

APPLIES TO
  • Microsoft Visual SourceSafe 6.0d
  • Microsoft Visual SourceSafe 2005 Standard Edition
Keywords: 
kbnomt kbrapidpub KB952623