Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memory used by VFP?
Message
De
05/12/2013 14:21:16
 
 
À
05/12/2013 09:56:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Web
Divers
Thread ID:
01589342
Message ID:
01589372
Vues:
76
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform