Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Too Many Objects?
Message
De
10/08/2001 15:38:17
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Too Many Objects?
Divers
Thread ID:
00542470
Message ID:
00542470
Vues:
57
I have a form with seven page tabs where the objects on each page are added at runtime when the user clicks on each page tab. One of the pages is user designed where up to 50-60 objects may be added.

The problem: when all of the pages have been clicked the computer slows to a crawl during instantiation of the last page’s objects. It doesn’t matter which page is loaded last. I’ve tracked the slowdown to any line of code that causes a write to the hard disk. A simple COPY STRUCTURE TO command from a three-field table takes 15-30 seconds. The hard drive isn't doing anything during this time. This affects all applications on the computer, not just VFP.

Using the SYS(1016) command (User Object Memory) I found that the slowdown occurs at approximately 4,600,000. The computer has 128 MB of RAM.

Is this an inherent limit of VFP? Does anybody have an idea on how to get around it?

Thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform