PRJ98: VBA: Excess Memory Consumed When Running Macro

ID: q191393


The information in this article applies to:


SYMPTOMS

In Microsoft Project 98, when you run a macro, memory usage by Microsoft Project may increase and not decrease until you restart Microsoft Project. This can also cause Microsoft Project to run slowly as more memory is consumed. In addition, you may also receive a message indicating you are low on available memory.


CAUSE

This behavior may occur when you run a macro that repetitively accesses properties of a task, resource, or assignment and values of the properties are stored internally as variants.


RESOLUTION

To correct this problem, install Microsoft Project 98 for Windows, Service Release 1 (SR-1).


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

This problem was corrected in Microsoft Project 98 for Windows, Service Release 1 (SR-1).


For additional information about obtaining and installing SR-1, please see the following article in the Microsoft Knowledge Base:

Q185102 PRJ98: How to Obtain and Install MS Project 98 SR-1


MORE INFORMATION

The following list contains properties that cause memory loss:

Actual Finish
Actual Start
AvailableFrom
AvailableTo
Baseline Finish
Baseline Start
Date1 - Date10
Finish1 - Finish10
PreleveledFinish
PreleveledStart
Resume
Start1 - Start10
Stop

Additional query words:


Keywords          : kberrmsg kbdta PROJVBA projwin 
Version           : WINDOWS:98
Platform          : WINDOWS 
Issue type        : kbbug 

Last Reviewed: July 9, 1999