Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Too Many Memory Variables

Status
Not open for further replies.

AidenMc

Programmer
Sep 19, 2002
58
GB
I was wondering if anyone could help with a problem I am having.
We have a software package in which the user can create a job, also from this screen, the user can go to other forms and then back to the original, after a couple of times jumping from screen to screen the error too many memory variables comes up.
I have tried to change the config.fpw to Mvcount = 5000, and add it to the other files and compiled, but the error still keeps appearing.
We are trying to reprogram at the moment to release the variables that we don't need, it's just if we could have a temp solution for our client whilst we are doing this it would be great
Any help would be much appreciated

thanks,

Aiden
 
AidenMc

Although in a different forum, this might you resolve the problem.

thread182-276540

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Mike,
Thanks for that, didn't work but thanks for the tip. We are going to fire ahead with the software changes ( we should have spec it out better to begin with )

thanks again

Aiden
 
I believe it counts each array item as a memory variabels. Therefore, if you have large arrays that are not full, you may try reducing their size.



Jim Osieczonek
Delta Business Group, LLC
 
Jim,
Nope, while an array does take memory based on how big it is and what's in it, it still only counts as a single variable in the MVCOUNT limits.

Rick
 
The "Too many variables" message can come up when a SELECT INTO ARRAY yields > 65000 results. -Jim
 
Maybe that is where I am thinking the correlation is. Here is an example of that:

Arrays and error 22: "Too Many Variables"
thread184-729525




Jim Osieczonek
Delta Business Group, LLC
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top