Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!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.018 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'python': 0.08; 'dumps': 0.16; 'from:addr:simplistix.co.uk': 0.16; 'from:name:chris withers': 0.16; 'message-id:@simplistix.co.uk': 0.16; 'received:89.151': 0.16; 'received:89.151.125': 0.16; 'received:89.151.125.140': 0.16; 'received:server1.simplistix.co.uk': 0.16; 'received:simplistix.co.uk': 0.16; 'cc:addr:python-list': 0.16; 'wrote:': 0.16; 'linux': 0.17; 'cheers,': 0.18; 'subject:list': 0.18; 'cc:no real name:2**0': 0.20; 'seems': 0.20; 'memory': 0.21; 'badly': 0.21; 'cc:2**0': 0.22; 'header:In-Reply-To:1': 0.22; 'versions': 0.23; 'windows': 0.26; 'cc:addr:python.org': 0.30; 'from:addr:chris': 0.30; 'chris': 0.32; 'does': 0.32; 'sort': 0.33; 'header:User-Agent:1': 0.34; 'things': 0.34; 'fair': 0.37; 'using': 0.37; 'steven': 0.38; 'some': 0.38; 'subject:: ': 0.39; 'subject:with': 0.39; "there's": 0.39; 'processing': 0.40; 'more': 0.60; 'url:co': 0.63; 'batch': 0.64; 'here': 0.65; 'limit': 0.66; 'received:89': 0.67; 'physically': 0.84; 'incidents': 0.93 Date: Wed, 31 Aug 2011 13:40:43 +0100 From: Chris Withers User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Steven D'Aprano Subject: Re: PC locks up with list operations References: <4e5e2a0c$0$29965$c3e8da3$5496439d@news.astraweb.com> In-Reply-To: <4e5e2a0c$0$29965$c3e8da3$5496439d@news.astraweb.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1314794452 news.xs4all.nl 2448 [2001:888:2000:d::a6]:54493 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:12470 On 31/08/2011 13:33, Steven D'Aprano wrote: > I am using Linux desktops; both incidents were with Python 2.5. Do newer > versions of Python respond to this sort of situation more gracefully? Ironically, Windows does better here and dumps you out with a MemoryError before slowly recovering. Linux seems to fair badly when programs use more memory than physically available. Perhaps there's some per-process thing that can be used to limit things on Linux? cheers, Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simplistix.co.uk