Memory Question About Global Array

I have a memory question about global arrays. Suppose you declare a global array of type double with a fairly large number of elements like 1 million elements.



The array is accessed and modified by a function that lies in a nested 'for' loop

The memory keeps on increasing as we loop through the iterations. Any reason for that?
Topic archived. No new replies allowed.