Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Not Enough Memory to complete this operation
Message
De
10/01/2000 17:59:02
 
 
À
10/01/2000 16:54:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00315784
Message ID:
00315826
Vues:
20
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?...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform