Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #11770
| From | John Gordon <gordon@panix.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Measure the amount of memory used? |
| Date | 2011-08-18 15:39 +0000 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Message-ID | <j2jboc$hve$1@reader1.panix.com> (permalink) |
| References | <mailman.166.1313680196.27778.python-list@python.org> |
In <mailman.166.1313680196.27778.python-list@python.org> Jack Bates <ms419@freezone.co.uk> writes:
> 1) How does the amount of memory used change as it runs?
I've observed that the amount of memory consumed by a program will
stay constant or increase; it never decreases.
Or were you wanting to measure the rate of increase over time?
> Has anyone else measured the memory used by a Python program? How did
> you do it?
I generally use 'top' to do this for any program.
--
John Gordon A is for Amy, who fell down the stairs
gordon@panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Measure the amount of memory used? Jack Bates <ms419@freezone.co.uk> - 2011-08-18 08:08 -0700 Re: Measure the amount of memory used? John Gordon <gordon@panix.com> - 2011-08-18 15:39 +0000 Re: Measure the amount of memory used? MrJean1 <mrjean1@gmail.com> - 2011-08-18 19:07 -0700
csiph-web