Path: csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed1.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.022 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'memory.': 0.07; 'tests.': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'unittest': 0.09; 'jan': 0.12; 'wrote': 0.14; '11:32': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'wrote:': 0.18; 'stack': 0.19; 'header:User- Agent:1': 0.23; 'header:X-Complaints-To:1': 0.27; 'header:In- Reply-To:1': 0.27; 'tried': 0.27; 'am,': 0.29; 'originally': 0.30; 'strongly': 0.30; 'code': 0.31; 'releasing': 0.31; 'stuff': 0.32; 'but': 0.35; 'there': 0.35; 'accessible': 0.36; 'data,': 0.36; 'too': 0.37; 'two': 0.37; 'being': 0.38; 'to:addr:python-list': 0.38; 'issue': 0.38; 'anything': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'around.': 0.60; 'received:173': 0.61; 'back': 0.62; 'more': 0.64; 'kept': 0.65; 'worth': 0.66; 'six': 0.68; 'dying': 0.84; 'ethan': 0.84; 'furman': 0.84; 'received:fios.verizon.net': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: unittest weirdness Date: Wed, 12 Mar 2014 22:27:07 -0400 References: <53207E0D.2060604@stoneleaf.us> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-173-75-254-207.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 In-Reply-To: <53207E0D.2060604@stoneleaf.us> 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: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1394677661 news.xs4all.nl 2869 [2001:888:2000:d::a6]:53747 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:68320 On 3/12/2014 11:32 AM, Ethan Furman wrote: > I strongly suspect it's memory. When I originally wrote the code I > tried to include six months worth of EoM data, but had to back it down > to three as my process kept mysteriously dying at four or more months. > There must be waaaaaaay too much stuff being kept alive by the stack > traces of the failed tests. There is an issue or two about unittest not releasing memory. Also, modules are not cleared from sys.modules, so anything accessible from global scope is kept around. -- Terry Jan Reedy