Microsoft KB Archive/833590

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

Article ID: 833590

Article Last Modified on 5/5/2004

-

APPLIES TO


 * Microsoft Visual Basic 6.0 Enterprise Edition
 * Microsoft Visual Basic 6.0 Professional Edition

-





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 &quot;Applies to&quot; 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

Additional query words: leak

Keywords: kbbug kbfix kbqfe KB833590

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.