Created On:  18 October 2010

Problem:

StarTeam becomes unresponsive and the following error message is seen in the StarTeam server log:

2293 00000004  2010-10-18 10:49:55  Exception handled at CStServer::DoCommand: Class = SA_DBMS_API_Error, Code = 2147942414(0x8007000e)
              Msg = Not enough storage is available to complete this operation.

The error is displayed even though there is plenty of free disk space available.

Resolution:

On start up the StarTeam server checks the free disk space against the threshold that is specified in the StarTeam "hive_index.xml" file. Below is an extract from a server log of the space being calculated.
 Mount Point: E:\ (Volume ID: \\?\Volume{b2401f8f-0ea5-11df-a631-0050568a5e2c}\).
 The available space is 80161601536 bytes (76448.061 MB) out of the total volume size which is 322118382592 bytes (307196.028 MB).
 The storage limit threshold is 95% of the physical space on the volume or 306012463462 bytes (291836.227 MB).

Over a period of time the disk space used can exceed the threshold calculated on start up. So even if space is subsequently freed up on the disk, StarTeam will believe that the disk threshold has been exceed and will generate the error displayed in the log. StarTeam will not recalculate the free space until it is restarted.

The error reported in the log will look something like the following extract,
2293 00000004  2010-10-18 10:49:55  Exception handled at CStServer::DoCommand: Class = SA_DBMS_API_Error, Code = 2147942414(0x8007000e)
 Msg = Not enough storage is available to complete this operation.
  [ComponentID] = -1
  [Client IP Address] = 10.91.101.110:1380
  [User Name] = Satish Phalke
  [Table Name] = Tasks_UnreadObjects
  [ClassID] = 50
  [Function Name] = CStDbObjectSet::Query
  [CommandID] = 1020
  [ServiceID] = 65536
  [Dump Status] = Error dump DID NOT complete successfully.

When StarTeam is restarted it will recalculate the threshold again and will stop reporting the errors.
Incident #2482197