Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Memory used by VFP?
Message
From
05/12/2013 14:21:16
 
 
To
05/12/2013 09:56:40
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Web
Miscellaneous
Thread ID:
01589342
Message ID:
01589372
Views:
79
>Is there some function that will tell you how much memory is currently being used by VFP?
>
>I'm wanting to read the current memory used, then call a function that creates lots of objects, cursors, etc, and then I want to check the memory usage afterwards to see what effect the work done in the previous function call had on the memory usage.
>
>Just a curiosity thing I'd like to snoop into.
>
Don't forget the processs API and the mechanisms of set/get WorkingSetSize on the windoze side of things - and I believe that vfp internal allocation will be different depending on sys(3050) and amount of memory currently free if large bitmaps or something similar is needed. And in bad cases memory on the vfp side will be fragmented beyond garbage collection - Calvin has some optical routines for vfp process memory in his blog.

Beware - easy to drown in information overload, and I had a specific problem...

have fun

thomas
Previous
Reply
Map
View

Click here to load this message in the networking platform