Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memory Question - Missing Memory
Message
De
18/03/2003 19:47:15
Donald Lowrey
Data Technology Corporation
Las Vegas, Nevada, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Memory Question - Missing Memory
Divers
Thread ID:
00767326
Message ID:
00767326
Vues:
48
Hi All

I was curious about how memory is allocated in VFP and noticed that there is an unaccounted for 30 meg of memory. Copy and run this from the command window. Do you get the same result? Or did I miss something?

Thanks
Don Lowrey

**
* testmem.prg
*--Test memory
CLEAR

* Reset Buffer Memory to System defaults
SYS(3050,1,0)
SYS(3050,2,0)

*Get total Fox Mem, Foreground and Background Mem
lntotal = ROUND(INT(VAL(SYS(1001)))/1024^2/4,2)
lnfore = ROUND(INT(VAL(SYS(3050,1)))/1024^2,2)
lnback = ROUND(INT(VAL(SYS(3050,2)))/1024^2,2)

* Compare
? lntotal && 128MB machine
? lnfore + lnBack
? lntotal - lnfore - lnBack && Where is the 30 meg dif?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform