Path: csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!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.031 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'python': 0.09; 'objects.': 0.09; 'spawn': 0.09; 'subject:None': 0.09; 'subject:python': 0.11; '(just': 0.16; 'growing,': 0.16; 'received:169.254.3': 0.16; 'received:mgd.msft.net': 0.16; 'received:msft.net': 0.16; 'memory': 0.18; 'to:name:python-list@python.org': 0.20; 'os,': 0.22; 'subject:release': 0.22; 'to:2**1': 0.23; 'received:169.254': 0.24; 'header:In-Reply-To:1': 0.25; 'subject: \n\t': 0.27; "doesn't": 0.28; 'run': 0.28; 'continually': 0.29; 'objects': 0.29; 'received:169': 0.29; 'header:Received:8': 0.30; 'problem': 0.33; 'to:addr:python-list': 0.33; 'server': 0.35; 'received:bigfish.com': 0.35; 'returning': 0.35; 'something': 0.35; "wasn't": 0.36; 'should': 0.36; 'charset:us-ascii': 0.36; 'being': 0.37; 'subject:: ': 0.38; 'planning': 0.38; 'received:10': 0.38; 'to:addr:python.org': 0.39; 'release': 0.39; 'application': 0.40; 'subject:, ': 0.61; 'back': 0.62; 'more': 0.63; 'taking': 0.65; 'subject:\t(': 0.84; 'subject:Set': 0.91; 'subject:del': 0.91; 'whereby': 0.91 X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: 1 X-BigFish: VS1(zzzz1f42h1ee6h1de0h1202h1e76h1d1ah1d2ahzzz2dh2a8h668h839h8e2h8e3h944hd25hf0ah1220h1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh15d0h162dh1631h1758h18e1h1946h19b5h1ad9h1b0ahbe9i1155h) From: Wong Wah Meng-R32813 To: Dennis Lee Bieber , "python-list@python.org" Subject: RE: Set x to to None and del x doesn't release memory in python 2.7.1 (HPUX 11.23, ia64) Thread-Topic: Set x to to None and del x doesn't release memory in python 2.7.1 (HPUX 11.23, ia64) Thread-Index: AQHOHF9FF9MO9jwvaU6UicPNrn6Y05idABxA Date: Sat, 9 Mar 2013 08:07:52 +0000 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> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.213.103.173] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: freescale.com 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: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1362816487 news.xs4all.nl 6953 [2001:888:2000:d::a6]:46976 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:40937 If the memory usage is continually growing, you have something else that i= s a problem -- something is holding onto objects. Even if Python is not ret= urning memory to the OS, it should be reusing the memory it has if objects = are being freed. --=20 [] Yes I have verified my python application is reusing the memory (just th= at it doesn't reduce once it has grown) and my python process doesn't have = any issue to run even though it is seen taking up more than 2G in footprint= . My problem is capacity planning on the server whereby since my python pro= cess doesn't release memory back to the OS, the OS wasn't able to allocate = memory when a new process is spawn off. =20