Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Too many variables
Message
 
À
08/07/1998 19:52:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00115472
Message ID:
00115545
Vues:
14
>>You may need to tweak the MVCOUNT setting in your config.fpw file. The default is 1024 and you need it to be much higher than that. The maximum number of elements in an array is 65,000. The MVCOUNT is somehow linked to memory allocation also so you can have a high MVCOUNT but still not be able to create that number of vars depending on how large the var contents are.
>
>Jim, do you know what the relationship is between MVCOUNT limit and an array size? I didn't think it was one-one. I'm sure I've run large arrays with say 1000's of elements with a MVCOUNT of 400 (FPW 2.6)
David,

I don't remember the details, but here's as much as I do remember. An array occupies one variable in MVCOUNT regardless of the number of elements. However, MVCOUNT affects the amount of memory reserved for memory variables as well as the number of entries in the name stack. It possible to exceed the memory area before exhausting the number of variables. The error message is the same for either condition, so it can be confusing if you have MVCOUNT set to 20,000 and you get the error message wioth two arrays defined each of which has 10's of thousands of elements.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform