The information in this article applies to:
SYMPTOMS
Repeatedly calling the SAVE SCREEN TO <memvar> and RESTORE SCREEN FROM
<memvar> commands causes the operating system to run low on memory.
After clicking OK, the following error message appears: In Windows 95, the following error appears:
RESOLUTION
As a workaround, place the following two commands before the RESTORE SCREEN
FROM command in the code example below:
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. This bug has been fixed in Visual Studio
97 Service Pack 3.
Q170365 INFO: Visual Studio 97 Service Packs - What, Where, and Why MORE INFORMATIONThe amount of the memory leak with each iteration of the SAVE and RESTORE combination is dependent on screen resolution, size of Visual FoxPro desktop, and color depth. Memory leakage will be some multiple of the product of the _SCREEN.Width and _SCREEN.Height. This can be on a magnitude of megabytes per iteration. Steps to Reproduce BehaviorWARNING: Running this code causes a low memory situation on the computer. This condition may cause the operating system to become unstable. Close all running applications and save your data before following this procedure. To close all open applications, press CTRL+ALT+Delete to open the NT Task Manager or the Windows 95 Close Program window, and then close all the other applications you have running.
Additional query words: memory leak restore from
Keywords : kberrmsg kbVFp kbVS97sp2fix FxprgGeneral |
Last Reviewed: August 11, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |