Hi everyone,
I seem to be here relatively oft in the last times.
I am trying to write a file-reading-loop where a certain number of files (in different directories) are read one after the other and processed in a certain way, then the results should be written out to a "summary" file. Now, a prototype worksheet works for a single file, even the biggest of them. But when I start the "loop", after a while I get the infamous message "not enough memory for this operation". With Task-Manager I have looked at the memory requirements, and they stay to 14%! The following snapshot was taken immediately after receiving the error message and it is showing memory used 14%.
Does someone know how could I avoid this problem? either "telling" Mathcad that it should use more memory, or somehow in my algorithm "clearing" the memory after each file read? because I do not need to have all files in memory, actually all what I need, is the capability to program a loop in order to perform the same operations on many different files. So each new READFILE actually overwrites the previous one in memory, and it should not need more memory (the result of READFILE is loaded into the variable PSDfile, every iteration).
thanks for any help & best regards
Claudio
PS: I' not posting the Mathcad-Worksheet (at least at this stage) because it works only with my specific data files.
PS2: I have a few debug statements, but the problem happens also with debug turned off.