Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!bcyclone04.am1.xlned.com!bcyclone04.am1.xlned.com!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:not': 0.03; 'causing': 0.04; 'python)': 0.05; 'subject:Python': 0.06; 'memory.': 0.07; 'python': 0.11; 'language,': 0.12; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'happily': 0.16; 'heap,': 0.16; 'settings,': 0.16; 'wrote:': 0.18; '(in': 0.22; 'header:User-Agent:1': 0.23; 'gets': 0.27; 'header :In-Reply-To:1': 0.27; 'am,': 0.29; 'probably': 0.32; 'operating': 0.37; 'being': 0.38; 'message-id:@gmail.com': 0.38; 'massive': 0.38; 'to:addr:python-list': 0.38; 'little': 0.38; 'does': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'happen': 0.63; 'more': 0.64; 'charset:windows-1252': 0.65; 'due': 0.66; 'whereas': 0.91 X-Virus-Scanned: amavisd-new at torriefamily.org Date: Thu, 30 Apr 2015 08:03:09 -0600 From: Michael Torrie User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Python is not bad ;-) References: <87mw1q9jqw.fsf@Equus.decebal.nl> In-Reply-To: <87mw1q9jqw.fsf@Equus.decebal.nl> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ 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: 11 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1430402596 news.xs4all.nl 2889 [2001:888:2000:d::a6]:45881 X-Complaints-To: abuse@xs4all.nl X-Received-Bytes: 2989 X-Received-Body-CRC: 2646186278 Xref: csiph.com comp.lang.python:89632 On 04/30/2015 01:07 AM, Cecil Westerhof wrote: > When I do that the computer is freezed a few times. That is a little > less nice. Does not happen with Clojure when it gets an out of memory. A system freeze is probably due to thrashing by your operating system as a process (in this case Python) uses more and more memory, causing massive swapping. Clojure's heap, being a JVM-based language, is based on JVM settings, so it may be maxing out at just a couple of GB. Whereas Python will happily max out your swap if your program demands the memory.