How large are your arrays?
If you don't specify any type for your array it will be a default strings array.
Such array is actually an array of pointers and the memory it uses will increase as you insert new items to the array.
It is better to declare large arrays that only suppose to hold numeric values as Double.
Dim arrayname(0) will free the RAM that this array holds (though not immediately).
|