Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add /remove object memory leak?
Message
From
26/09/2001 14:02:40
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00559984
Message ID:
00561138
Views:
29
>>Hi,
>>
>>VFP6 SP4 -
>>
>>I'm thinking of putting an application together that adds and removes objects on the fly to a form by the drove - whole screens of them at a time - dynamically adding, deleting, adding, deleting, etc dozens of individual text, combo, label, etc. controls - dozens of times while the form is open.
>>
>>Initial tests indicate that, while the concept works very well and performance is very good, memory use (sys 1016) just goes up and up with every iteration. So question - is there something more than jsut removing the objects (and any references) I need to do to clear up the memory - or is this a memeory leak issue and thus a technique that should be avoided?
>>
>>TIA,
>
>What does the code look like that is removing and releasing them now?

just looping around the controls collection and using removeobject - but you may have given me an idea
Ken B. Matson
GCom2 Solutions
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform