Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to release and assign an object
Message
 
 
À
14/09/2006 12:15:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01153528
Message ID:
01153804
Vues:
31
Wei,

How many objects are you talking about using? If it's thousands or more you might consider using a lighterweight baseclass. There is a Wiki article showing the relative sizes of the different classes.
http://fox.wikis.com/wc.dll?Wiki~TestMemoryCreateDestroy~VFP

>Thanks, David. I'll look into that. I have a library with a set of classes I wrote a while back. In the classes I used the null assignment to release the child (subsequent) object. Now I use it in a new application and I run into some kind of memory related errors when running the new application to process a large size of data. I want to make sure whether the memory management in those old classes has flaws.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform