Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!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.016 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'python': 0.09; 'objects.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'spawn': 0.09; 'stating': 0.09; 'subject:None': 0.09; 'subject:python': 0.11; 'gc.collect()': 0.16; 'growing,': 0.16; 'hits': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'memory': 0.18; 'os,': 0.22; 'subject:release': 0.22; 'errors': 0.23; 'header:X-Complaints-To:1': 0.28; 'continually': 0.29; 'objects': 0.29; 'starts': 0.29; 'fri,': 0.30; 'error': 0.30; 'not.': 0.32; 'oracle': 0.33; 'url:home': 0.33; 'problem': 0.33; 'to:addr:python-list': 0.33; 'server': 0.35; 'returning': 0.35; "won't": 0.35; 'something': 0.35; 'received:org': 0.36; 'should': 0.36; 'charset:us-ascii': 0.36; 'unable': 0.36; 'being': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'release': 0.39; 'takes': 0.39; 'header:Received:5': 0.40; 'subject:, ': 0.61; 'bothered': 0.65; 'concerns': 0.65; '2013': 0.84; 'subject:\t(': 0.84; 'dennis': 0.91; 'received:108': 0.91; 'subject:Set': 0.91; 'subject:del': 0.91; 'luxury': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: Set x to to None and del x doesn't release memory in python 2.7.1 (HPUX 11.23, ia64) Date: Fri, 08 Mar 2013 19:40:05 -0500 Organization: > Bestiaria Support Staff < References: <390f0dc5-5750-4849-9433-a19d90cc8566@googlegroups.com> <87zjyhhret.fsf@nautilus.nautilus> <5137d292$0$30001$c3e8da3$5496439d@news.astraweb.com> <78E1273CA6E76A43BB8830A194FF709B0B14D68C@039-SN2MPN1-013.039d.mgd.msft.net> <78E1273CA6E76A43BB8830A194FF709B0B153A71@039-SN2MPN1-013.039d.mgd.msft.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-108-79-218-107.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 3.3/32.846 X-No-Archive: YES 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: 1362789616 news.xs4all.nl 6983 [2001:888:2000:d::a6]:40964 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:40913 On Fri, 8 Mar 2013 09:08:15 +0000, Wong Wah Meng-R32813 declaimed the following in gmane.comp.python.general: > The problem is my server hits memory usage threshold, and starts giving me errors like Oracle unable to spawn off new session stating Out of Memory error and what not. I won't be bothered much if I have the luxury of available memory for other processes to use. If only if the UNIX understand my concerns and release the allocation when I issue gc.collect() or the gc.collect() takes place. :) > If the memory usage is continually growing, you have something else that is a problem -- something is holding onto objects. Even if Python is not returning memory to the OS, it should be reusing the memory it has if objects are being freed. -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/