Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!nntp-feed.chiark.greenend.org.uk!ewrotcd!news.nosignal.org!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.017 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'scipy': 0.05; '__init__': 0.09; 'modules.': 0.09; 'skip:" 80': 0.09; 'cc:addr:python-list': 0.10; 'subject:error': 0.11; 'benjamin': 0.16; 'cc:name:python list': 0.16; 'wrote:': 0.17; 'refers': 0.17; 'error.': 0.21; 'subject:skip:i 10': 0.22; 'wednesday,': 0.22; 'cc:2**1': 0.24; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'message-id:@mail.gmail.com': 0.27; 'actual': 0.28; 'skip:_ 10': 0.29; 'error': 0.30; 'code': 0.31; 'file': 0.32; 'skip:s 30': 0.33; 'traceback': 0.33; "can't": 0.34; 'received:google.com': 0.34; 'received:209.85': 0.35; 'subject:with': 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'sure': 0.38; 'your': 0.60; 'skip:n 10': 0.63; '2013': 0.84; 'isaac': 0.84; 'oscar': 0.84; 'won': 0.96 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=K6rb/f+Dgw1aBpjF10XAuspxrWr1slzAKunk1X6Xsbk=; b=AjBSVKnpWGW/B/qIWuaJJ4klgLvVqPC7V9wx8Ppj/yzX4u/NeAEZWzHCPeX08kypHg CffS4fhP/n89CaJTlLkgwA7zvczLgdx4+LkTvBSg9pSYRSXGD+E7dm426n23+GpxUDmw Yx2pPh91jFZa3PRa8oLYMd0DLDHqQ20NELeAckzpdemPRN3rcyBhltPIQNJic0Rgze37 LScvEpRty8W/7cDiz5j/vKMlNlj/TvUy1MAQj95CDoqPWPbLVZjo7UDk0nNRhca+swrJ 5HJiRiysqI0/Z2zrBkpvU9FOmRCygjsS/w6Y3bWCHqnlkdB1eeA2sshBBHkLomOG3xga Ft6A== MIME-Version: 1.0 X-Received: by 10.152.109.210 with SMTP id hu18mr1584637lab.12.1358952054783; Wed, 23 Jan 2013 06:40:54 -0800 (PST) In-Reply-To: <8daf86cf-386c-44ae-83d5-25fb04572c00@googlegroups.com> References: <0909ee56-c304-4b9d-8be9-97c7a3261d27@googlegroups.com> <8daf86cf-386c-44ae-83d5-25fb04572c00@googlegroups.com> Date: Wed, 23 Jan 2013 14:40:54 +0000 Subject: Re: Memory error with quadratic interpolation From: Oscar Benjamin To: Isaac Won Content-Type: text/plain; charset=ISO-8859-1 Cc: Python List , Ulrich Eckhardt X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1358952056 news.xs4all.nl 6913 [2001:888:2000:d::a6]:57701 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:37474 On 23 January 2013 14:28, Isaac Won wrote: > On Wednesday, January 23, 2013 4:08:13 AM UTC-6, Oscar Benjamin wrote: > > To Oscar > My actual error message is: > File "/lustre/work/apps/python-2.7.1/lib/python2.7/site-packages/scipy/interpolate/interpolate.py", line 311, in __init__ > self._spline = splmake(x,oriented_y,order=order) > File "/lustre/work/apps/python-2.7.1/lib/python2.7/site-packages/scipy/interpolate/interpolate.py", line 809, in splmake > coefs = func(xk, yk, order, conds, B) > File "/lustre/work/apps/python-2.7.1/lib/python2.7/site-packages/scipy/interpolate/interpolate.py", line 530, in _find_smoothest > u,s,vh = np.dual.svd(B) > File "/lustre/work/apps/python-2.7.1/lib/python2.7/site-packages/scipy/linalg/decomp_svd.py", line 91, in svd > full_matrices=full_matrices, overwrite_a = overwrite_a) > MemoryError Are you sure that's the *whole* error message? The traceback only refers to the scipy modules. I can't see the line from your code that is generating the error. Oscar