FIX: The compiler may generate code that causes increased memory usage in Visual Basic 6.0 applications (833590)



The information in this article applies to:

  • Microsoft Visual Basic Enterprise Edition for Windows 6.0
  • Microsoft Visual Basic Professional Edition for Windows 6.0

SYMPTOMS

You may notice increased memory usage in applications that you created by using Microsoft Visual Basic 6.0.

CAUSE

This behavior occurs if a class in the Visual Basic code includes arrays of fixed length structures such as fixed length user-defined types or fixed length strings. The Visual Basic 6.0 compiler generates code that incorrectly handles the references counting of a class that contains arrays of fixed length variables. This behavior causes increased memory usage.

RESOLUTION

To resolve this problem, obtain the latest service pack for Microsoft Visual Basic 6.0. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

834001 List of bugs that are fixed in Visual Studio 6.0 Service Pack 6

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

For additional information about the terminology that is used to describe Microsoft product updates, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates


Modification Type:MajorLast Reviewed:5/5/2004
Keywords:kbQFE kbbug kbfix KB833590 kbAudDeveloper