Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Too Many Objects?
Message
De
10/08/2001 16:03:07
 
 
À
10/08/2001 15:38:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00542470
Message ID:
00542500
Vues:
9
This message has been marked as a message which has helped to the initial question of the thread.
>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?

We need more information:
- What is the OS?
- VFP version and SP?
- What other applications are running?
- Is antivirus software active?
- Single- or multi-user environment? Server OS? 10- or 100BASE-T networking?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform