Using less RAM memory

asked 11 years ago

mresimulator gravatar image

updated 10 years ago

FrédéricC gravatar image

Hi experts!

I wanna use less RAM memory in my Monte Carlo simulations. In my algorithm I use numpy arrays and xrange() function.

I hear that I can reduce RAM used in my lagorithm if I do the next:

1) replace xrange() for range(). 2) replace numpya arrays for python lists 3) use reset() function for deleting useless arrays.

Is that true?

Please help.

Thanks a lot!!

Preview: (hide)