Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating objects drain memory
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00085047
Message ID:
00085245
Vues:
27
>Well, I guess maybe I need to rethink my design. It would be possible to create them once. It would mean merging my classes into one class. I thought having separate classes was the more object-oriented approach, but I guess I need to take the practical approach.
>
>BTW, if what you suggest is true about fragmented memory, it sounds like that is bug in FoxPro.
>
>Thanks!

Tim,

I don't know if it is a bug or not. I don't know if that is the cause of your problem or not.

I am not suggesting that you merge the classes. You said this app is running for awhile and it creates and destroys objects. My suggestion is to create the objects once and leave them created. Then use them over an over and don't destroy them until you are done and the app is quiting to the desktop.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform