Information générale
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Network:
Windows 2008 Server
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement