Thank you. I think fig.1 show what you mean. I'm not sure if the fig.2 is same as the fig.1. If they are same,then in fig.2, when N is 50M,still has the promble. So, i doubt fig.1 has the same promble, because the 2D array will be in the memory.Later i will try to run the program on my NI instruments.
In fig.3, N is 100M, there is no problem.
I'm a beginner, and i think my question is very easy for some gurus. Thanks for your patience to answer my questions.
Thank you, all. Thank you, igcode.
fig.1
fig.2
fig.3