Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #68995

Re: Memory error

From dieter <dieter@handshake.de>
Subject Re: Memory error
Date 2014-03-25 08:53 +0100
References <d4489c2b-6650-45b6-bcb0-7a1b648192d2@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.8506.1395734111.18130.python-list@python.org> (permalink)

Show all headers | View raw


Jamie Mitchell <jamiemitchell1604@gmail.com> writes:
> ...
> I then get a memory error:
>
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/local/sci/lib/python2.7/site-packages/scipy/stats/stats.py", line 2409, in pearsonr
>     x = np.asarray(x)
>   File "/usr/local/sci/lib/python2.7/site-packages/numpy/core/numeric.py", line 321, in asarray
>     return array(a, dtype, copy=False, order=order)
> MemoryError

"MemoryError" means that Python cannot get sufficent memory
from the operating system.


You have already found out one mistake. Should you continue to
get "MemoryError" after this is fixed, then your system does not
provide enough resources (memory) to solve the problem at hand.
You would need to find a way to provide more resources.

Back to comp.lang.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Memory error Jamie Mitchell <jamiemitchell1604@gmail.com> - 2014-03-24 04:32 -0700
  Re: Memory error Jamie Mitchell <jamiemitchell1604@gmail.com> - 2014-03-24 04:39 -0700
  Re: Memory error Gary Herron <gary.herron@islandtraining.com> - 2014-03-24 13:37 -0700
  Re: Memory error dieter <dieter@handshake.de> - 2014-03-25 08:53 +0100

csiph-web