High memory usage - program mistake or Python feature?
Aahz
aahz at pythoncraft.com
Tue May 27 18:32:24 EDT 2003
[Please do not top-post; it makes things harder to read. I've put your
comment on the bottom for you.]
In article <3ED27354.9030802 at klix.ch>,
Gerald Klix <Gerald.Klix at klix.ch> wrote:
>Aahz wrote:
>> In article <3ED0C157.6060708 at klix.ch>,
>> Gerald Klix <Gerald.Klix at klix.ch> wrote:
>>>
>>>Obviously your program makes three in-memory copies of your log file.
>>>Aahz explained why there must be at least two copies, I still
>>>wonder how you managed to do the third one.
>>
>> Nope, two copies accounts for 100MB; 50MB is easily accounted for by
>> various bits of overhead.
>
>I fear you right and hope you err, becaus ethis scares me.
Why does this scare you?
--
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"In many ways, it's a dull language, borrowing solid old concepts from
many other languages & styles: boring syntax, unsurprising semantics,
few automatic coercions, etc etc. But that's one of the things I like
about it." --Tim Peters on Python, 16 Sep 93
More information about the Python-list
mailing list