The DBCC MEMUSAGE statement is not supported in SQL Server 7.0. Executing
it on servers running heavy loads with large databases may cause the server
to stop responding.
To work around this problem, use Windows NT Performance Monitor counters to
monitor memory usage. Counters of interest are Procedure Cache Pages In Use
and Procedure Cache Size (Pages) in the SQL Server Buffer Manager Object,
as well as the Procedure Cache Hit Ratio, Procedure Cache Pages, and
Procedure Cache Object Counts counters in the SQL Server Cache Manager
Microsoft has confirmed this to be a problem in SQL Server version 7.0.