[Numpy-discussion] memoryerror with numpy.fromfile
Thu May 21 12:23:17 CDT 2009
Thu, 21 May 2009 10:31:28 -0600, Michael Hearne wrote:
> I am getting a MemoryError from a numpy.fromfile() call in an
> application I am trying to deploy. Normally I would assume that this
> would mean that I don't have enough memory available on the system.
> However, if I run vmstat (Linux) at the same time as my process, I see
> that I have 3+ Gigabytes of memory free, and no swap space being used.
If you are on a 32-bit platform, the maximum addressable memory for a
single process is limited to 3 GB, and what can be allocated can be less
than this because of memory fragmentation. Also, you should check that
you don't have an ulimit set for virtual/RSS memory.
More information about the Numpy-discussion