Question

Any idea of do A dot B, without Memroy Error?

Was it helpful?

Solution

The result would be a 250000x250000 matrix, and would require about half a terabyte of RAM.

Did you mean numpy.dot(B, A)?

OTHER TIPS

The dot product you are trying to calculate produces a 250000x250000 array, which will require 500Gb of memory if you are using the default double precision floating point. Are you sure that is what you need?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top