Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #24532

Re: Slow output

Date 2012-06-27 20:59 +0200
From Jean-Michel Pichavant <jeanmichel@sequans.com>
Subject Re: Slow output
References <53d49cb1-a68a-49c4-b925-b8a910ac415a@googlegroups.com> <4FEB4B90.6050002@mrabarnett.plus.com>
Newsgroups comp.lang.python
Message-ID <mailman.1558.1340823596.4697.python-list@python.org> (permalink)

Show all headers | View raw


MRAB wrote:
> On 27/06/2012 18:33, subhabangalore@gmail.com wrote:
>> 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?
>>
> Could you post the program here (you say that it's small) so that we
> can see what you're trying to do.
Additionaly, you may want to look at 
http://docs.python.org/library/profile.html
You may spot quite quickly where your program is dying. It's worth the 
try, it's doesn't take long to setup the profile.

JM

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Slow output subhabangalore@gmail.com - 2012-06-27 10:33 -0700
  Re: Slow output MRAB <python@mrabarnett.plus.com> - 2012-06-27 19:06 +0100
    Re: Slow output Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2012-06-27 20:27 +0000
  Re: Slow output Jean-Michel Pichavant <jeanmichel@sequans.com> - 2012-06-27 20:59 +0200
  Re: Slow output alex23 <wuwei23@gmail.com> - 2012-06-27 19:05 -0700
  Re: Slow output subhabangalore@gmail.com - 2012-06-28 07:11 -0700
  Re: Slow output Roel Schroeven <roel@roelschroeven.net> - 2012-06-28 21:14 +0200

csiph-web