I know there are a ton of numpy memory error topics, so I hope I haven't duplicated anything. I'm trying to create a np array using np.zeros((500000,10000))
. This works fine on my Mac with 16G of memory, but on a Linux server with 28G of RAM it fails instantly with Memory Error
. I've verified that I'm running the 64 bit version of Ubuntu and Python, and I'm on Numpy 1.9.3. The only difference I noticed between systems (apart from the obvious) is that when running ulimit -a
I get:
Linux: max locked memory (kbytes, -l) 64
Mac: max locked memory (kbytes, -l) unlimited
Could this be the reason I can't run this command? If not, is there some other configuration option I'm missing?