"Barry A. Warsaw" wrote: > > >>>>> "M" == M <mal@lemburg.com> writes: > > | print i,resource.getrusage(resource.RUSAGE_SELF) > > My experience echos yours here MAL -- I've never seen anything > from getrusage() that would be useful in this context. :/ > > A configure script test would be useful, but you'd have to build a > minimal Python interpreter first to run the script, wouldn't you? I just experimented with this a bit: I can't seem to get a plain C program to behave like the Python interpreter. The C program can suck memory in large chunks and consume great amounts of stack, it just doesn't dump core... (don't know what I'm doing wrong here). Yet the Python 2.0 interpreter only uses about 5MB of memory at the time it dumps core -- seems strange to me, since the plain C program can easily consume more than 20Megs and still continues to run. -- Marc-Andre Lemburg ______________________________________________________________________ Business: http://www.lemburg.com/ Python Pages: http://www.lemburg.com/python/
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4