I have in VBscript a code that imports data from TXT file and stores a dataTree in an array (dataTree size : 1000 branches x 1000 points/branch x 3 coordinate/point). The problem is, when I want to increase the data set to a tree of 1500 x 4000 x 3, I get a memory error :
1/ Is there a way to increase this memory limit ?
2/ If not, well I could reduce the size of my tree, because only a few of my 1500 branches actually contain 4000 points (about 70% of these branches contain less than 500 points), but this implies to allocate memory using Redim Preserve arrBranch(i)(n+1) to allow for more points and at first sight this does not seem to function. Should I persevere with Redim Preserve ?