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.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'ascii': 0.07; 'python': 0.09; 'issue?': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'statistical': 0.09; 'suggest': 0.11; 'files.': 0.13; '.txt': 0.16; 'exploits': 0.16; 'laptop.': 0.16; 'message-id:@dough.gmane.org': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'text?': 0.16; 'windows': 0.19; 'minutes.': 0.23; 'command': 0.24; 'machine': 0.24; 'header:In- Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'plain': 0.27; '2.6': 0.27; 'executing': 0.27; 'india.': 0.27; 'header:X -Complaints-To:1': 0.28; 'run': 0.28; 'stuff': 0.30; 'gets': 0.32; 'received:84': 0.32; 'running': 0.32; 'idle': 0.33; 'ram': 0.33; 'to:addr:python-list': 0.33; 'likely': 0.33; 'text': 0.34; 'text.': 0.35; 'received:org': 0.36; 'but': 0.36; 'loaded': 0.36; 'too': 0.36; 'does': 0.37; 'subject:: ': 0.38; 'several': 0.39; 'to:addr:python.org': 0.39; 'where': 0.40; 'header:Received:5': 0.40; 'group,': 0.60; 'increased': 0.60; 'dead': 0.62; 'improved': 0.62; 'email addr:gmail.com': 0.63; 'show': 0.63; 'improvement.': 0.65; 'dear': 0.66; 'hugely': 0.84; 'sri': 0.84; 'shocked': 0.91; '30%': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Roel Schroeven Subject: Re: Slow output Date: Thu, 28 Jun 2012 21:14:37 +0200 References: <53d49cb1-a68a-49c4-b925-b8a910ac415a@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: d54c6d210.access.telenet.be User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) In-Reply-To: <53d49cb1-a68a-49c4-b925-b8a910ac415a@googlegroups.com> 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: 21 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1340910887 news.xs4all.nl 6891 [2001:888:2000:d::a6]:35540 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:24633 subhabangalore@gmail.com schreef: > Dear Group, > I am Sri Subhabrata Banerjee writing from India. I am running a small > program which exploits around 12 1 to 2 KB .txt files. I am using MS > Windows XP Service Pack 3 and Python 2.6 where IDLE is GUI. The text > is plain ASCII text. The RAM of the machine is around 2 GB. To run > the program the machine is becoming dead slow and it is executing > only after several minutes. I am shocked as I have run hugely loaded > Statistical Learning stuff only on 516MB RAM on Python using Windows > XP only. And that too on a laptop. I am not getting. I discussed the > issue with my system administrator and he increased the RAM to 8GB > result improved by 30% but not satisfactory speed. May any one > suggest me what may be the likely issue? Does the program generate a lot of text? Do you run the program in IDLE? IDLE gets very slow when it has to show a lot of text. Try running the program from the command line to see if that offers any improvement. Best regards, Roel