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


Groups > comp.lang.python > #15441 > unrolled thread

Re: memory management

Started byChris Angelico <rosuav@gmail.com>
First post2011-11-08 08:40 +1100
Last post2011-11-08 08:40 +1100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: memory management Chris Angelico <rosuav@gmail.com> - 2011-11-08 08:40 +1100

#15441 — Re: memory management

FromChris Angelico <rosuav@gmail.com>
Date2011-11-08 08:40 +1100
SubjectRe: memory management
Message-ID<mailman.2518.1320702059.27778.python-list@python.org>
On Tue, Nov 8, 2011 at 6:43 AM, Juan Declet-Barreto
<Juan.Declet-Barreto@mesaaz.gov> wrote:
>
> I have a script that traverses a file structure using os.walk and adds directory names to a list. It works for a small number of directories, but when I set it loose on a directory with thousands of dirs/subdirs, it crashes the DOS session and also the Python shell (when I run it from the shell).

This seems a little unusual - it crashes more than its own process? If
you use Start... Run and type in "cmd" (or use the "Command Prompt"
icon, whereever that is), and invoke Python from there, it crashes cmd
as well as Python? If so, I'd be suspecting either some really weird
bug in the Python interpreter (try upgrading to 2.7), or a hardware
fault in your computer (try running MemTest or running it on a
different computer).

ChrisA

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web