PRB: System Resources Not Released While in FoxPro
Article ID: 112220
Article Last Modified on 12/3/2003
APPLIES TO
- Microsoft Visual FoxPro 3.0 Standard Edition
- Microsoft FoxPro 2.5b
- Microsoft FoxPro 2.5a
- Microsoft FoxPro 2.5b
This article was previously published under Q112220
SYMPTOMS
As you work in FoxPro for Windows, the amount of available system resources
(User, System, and GDI memory) initially decreases. These system resources
do not return to their original levels until after you have exited FoxPro.
CAUSE
FoxPro for Windows stores colors, pen types, font information, and brushes
in memory. This is to make these items available as you are working. These
items are swapped in and out of memory as necessary. Therefore, the memory
decrease you may see during a FoxPro session relates more to caching than
memory loss.
NOTE: Even after exiting FoxPro for Windows, you may notice that GDI
resources are lower than they were before FoxPro was loaded. This is not
necessarily a problem with FoxPro. Some GDI objects may remain in memory
even after a Windows-based application is closed. This means that a portion
of the GDI heap may be lost until you restart Windows itself.
Additional query words: VFoxWin FoxWin 2.50 2.50a 2.50b
Keywords: kbenv KB112220