0

Hey everyone,

I was wondering if someone could give me a push in the right direction. I'm trying to do Monte Carlo simulations on a certain statistical distribution.

Monte carlo simulations requires hundreds and thousands of iterations to be run. The problem that I have is I need to save all the information in arrays so that I can do further processing afterwards.

If I declare a two dimensional double array I get the following error:

"Exception of type 'System.OutOfMemoryException' was thrown."

So I assume I'm trying to create arrays that are too big.

Is there some other method or programming technique in C# that I can use to store huge amounts of data for later processing?

I'm a C# learner so I don't know too much.

Thanks!