Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How could I know the memory usage of a business object ?
Message
De
23/04/2002 06:06:41
 
 
À
23/04/2002 05:28:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00648022
Message ID:
00648025
Vues:
24
>I know what SYS(1016) does, but the information it gives is not enough for me.
>
>I have a complex object composed of many objects, how many could I create
>without worrying about memory or performance?
>

Without further qualification, the answer is unknowable - it depends on whether the object is instanced internally as a VFP class or a COM Object, the available physical and Virtual memory on the PC, the clock speed of the system, any number of I/O parameters for the system, and obviously the version of VFP and Windows in use.

The pragmatic approach is to write a small test harness to instance these complex objects and do a synthetic benchmark of the performance issues you need to test. IOW, write a simple case study that creates multiple object instances and exercises the system to test the performance issues of interest - disk, video, user response, etc.

>Is there some API giving information on this?
>
>Thanks
>José Luis.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform