Using less RAM memory

asked 2013-09-24 11:59:03 +0100

mresimulator gravatar image

updated 2015-01-14 14:37:26 +0100

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!!

edit retag flag offensive close merge delete