Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to release and assign an object
Message
 
 
To
14/09/2006 12:15:11
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01153528
Message ID:
01153804
Views:
30
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
Previous
Reply
Map
View

Click here to load this message in the networking platform