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


Groups > comp.lang.python > #68995

Re: Memory error

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!us.feeder.erje.net!newsfeed.fsmpi.rwth-aachen.de!news.unit0.net!takemy.news.telefonica.de!telefonica.de!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'subject:error': 0.03; 'error:': 0.07; 'skip:" 60': 0.07; 'fixed,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-ipconnect.de': 0.16; 'memory': 0.22; 'header:User-Agent:1': 0.23; 'header:X -Complaints-To:1': 0.27; '"",': 0.31; 'writes:': 0.31; 'file': 0.32; '(most': 0.33; 'problem': 0.35; 'charset:us-ascii': 0.36; 'should': 0.36; 'operating': 0.37; 'to:addr:python-list': 0.38; 'recent': 0.39; 'does': 0.39; 'to:addr:python.org': 0.39; 'enough': 0.39; 'system.': 0.39; 'received:org': 0.40; 'solve': 0.60; 'received:217': 0.63; 'skip:n 10': 0.64; 'provide': 0.64; 'more': 0.64; 'hand.': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From dieter <dieter@handshake.de>
Subject Re: Memory error
Date Tue, 25 Mar 2014 08:53:12 +0100
References <d4489c2b-6650-45b6-bcb0-7a1b648192d2@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Gmane-NNTP-Posting-Host pd9e08fb0.dip0.t-ipconnect.de
User-Agent Gnus/5.1008 (Gnus v5.10.8) XEmacs/21.4.22 (linux)
Cancel-Lock sha1:p6PjRIH2aVlDdq/B+zylrQJWrCA=
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.8506.1395734111.18130.python-list@python.org> (permalink)
Lines 21
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1395734111 news.xs4all.nl 2968 [2001:888:2000:d::a6]:48480
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:68995

Show key headers only | 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