Skip to content Skip to sidebar Skip to footer

Python Process Using Only 1.6 Gb Ram Ubuntu 32 Bit In Numpy Array

I have a program for learning Artificial Neural Network and it takes a 2-d numpy array as training data. The size of the data array I want to use is around 300,000 x 400 floats. I

Solution 1:

A 32-bit OS can only address up to aroung 4gb of ram, while a 64-bit OS can take advantage of a lot more ram (theoretically 16.8 million terabytes). Since your OS is 32-bit, your OS can only take advantage of 4gb, so your other 4gb isn't used.

The other 64-bit machine doesn't have the 4gb ram limit, so it can take advantage of all of its installed ram.

These limits come from the fact that a 32-bit machine can only store memory address (pointers) of 32-bytes, so there are 2^32 different possible memory locations that the computer can identify. Similarly, a 64-bit machine can identify 2^64 different possible memory locations, so it can address 2^64 different bytes.

Post a Comment for "Python Process Using Only 1.6 Gb Ram Ubuntu 32 Bit In Numpy Array"