Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy to array and error message #43
Message
From
23/01/2001 15:29:11
 
 
To
23/01/2001 15:20:14
Rasheed Al Rasheed
Riyadh Armed Forces Hospital
Riyadh, Saudi Arabia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00467530
Message ID:
00467535
Views:
15
Hi!

VFP Array supports only 65530 or such items only. Items, not records. If you have 6000 records and 11 or more fields, you're in trouble, because 6000*11 = 66000 > 65530...

>Part of a save method, I have a routine which copy from a buffered table to an array. Recently the message 'There is not enough memory to complete this operation. error# 43' started appearing every time this routine is excuted. My first thought is that it is caused by the network, however, the message is occuring when using a non-networked PC with 128MB RAM. The file size which I am copying from is over 6000 records. Reducing the number of records to below 4000 makes the error message disappear. The maximum records usually copied to the array never exceeds 50 records with 8 fields only.
>I got round the problem by using a select statment instead, but array is more elegant in this situation. Any idead why such a message is happening.
>Thanks
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform