Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SYS(3050) Not Respected According to Task Manager
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00728197
Message ID:
00728231
Views:
38
This message has been marked as a message which has helped to the initial question of the thread.
Hi Scott,

>After running several hits to the server, it still went up to the 25MB - 30MB range (in the Task Manager). I put a DEBUGOUT() to show the SYS(3050,#) while processing each hit to verify my settings had not changed.

SYS(3050) only controls a memory block called the "page pool". It's basically the cache used for data operations. See KB article Q136694 for details.

VFP has several other memory blocks. For one, it has to reside somewhere in memory itself. Then, there's the "handle pool" memory. This keeps all the variables, form, menus, popups, etc. The "handle pool" is only limited by the virtual memory and cannot be limited in our programs. With SYS(1104) you can force a garbagge collection in the handle pool. And finally, there's the streaming output buffer. VFP keeps a bitmap of every form in memory. When it prints something to a form, it updates this bitmap and performs a bitblt operation to display it. This streaming buffer can get quite large. At 1280x1024 with true color, it's almost 4 MB for a maximized form.

Christof
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform