Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Not Enough Memory to complete this operation
Message
From
10/01/2000 17:59:02
 
 
To
10/01/2000 16:54:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00315784
Message ID:
00315826
Views:
22
I found the solution in the Microsoft site under article Q191923. The solution
is to pre dimension the array prior to doing the COPY TO ARRAY command. That is some weird, wild stuff...


>I am using VFP 6.0 SP3 with NT 4.0 SP 5 on a Dell 333 with 320 MB of RAM. I have a bizzare matrix type calculation that needs to be performed and I am using an Array to store the data to be calculated.
>
>There are 25 columns in the cursor that are being extracted to an array. The first instance inside the loop is for 1 row. Everytime I run the following code I get the error "there is not enough memory to complete this operation":
>
>COPY TO ARRAY laCR WHILE ISDIGIT(db_yyyymm) AND group_by = "A" FIELDS LIKE cr*
>
>I put a set step prior to this code and then would click on the resume button. I would get the error, suspend and hit the resume button a second time and there was NO problem.
>
>The value of SYS(12) [available memory in bytes]is 655360.
>the value of SYS(1016) [user object memory use] is 830488.
>
>Not sure why the code will go thru fine on the second resume click.
>
>Any ideas?...
Previous
Reply
Map
View

Click here to load this message in the networking platform