I am working on a scientific program which have an array with 6 variables that is
tnar(totalD, a2tot, a1tot, b2tot, b1tot, 3)
and each variable has a minimum, maximum and a step values that user can adjust (look at attached picture). When this variables are adjusted sometimes tnar array is reaching over 20 million parameters for example when totalD is 42, a2tot is 31, a1tot is 11, b2tot is 31 and b1tot is 20 then tnar has an 26,638,920 array indices.
but in my pc VB is giving an "Out of memory" error.
is there another way to hold these values? can i do that with Collection?




Reply With Quote