Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Too Many Objects?
Message
From
10/08/2001 15:38:17
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Too Many Objects?
Miscellaneous
Thread ID:
00542470
Message ID:
00542470
Views:
63
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
Next
Reply
Map
View

Click here to load this message in the networking platform