➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 gtang
收信人 facundobatista, gtang, tim.peters
日期 2008-06-08.16:55:43
SpamBayes Score 0.10672287
Marked as misclassified 否
Message-id <1212944145.99.0.719844270819.issue3063@psf.upfronthosting.co.za>
In-reply-to
内容
Here I am confused. 100million floats in a list takes about 800M byte 
memory. This is acceptable. 

for i in xrange(100000000):
    data[i] = random()

so it should be 800M plus a float returned by random(). But the problem 
is after this loop, except 800M bytes list, another >2G memory is 
occupied. And delete data list and call gc.collect() does not release 
these memory. I think you mean there are lots of floats used in random
() call, they should be released after random() returned.
历史
日期 用户 动作 参数
2008-06-08 16:55:47gtang修改spambayes_score: 0.106723 -> 0.10672287
recipients: + gtang, tim.peters, facundobatista
2008-06-08 16:55:46gtang修改spambayes_score: 0.106723 -> 0.106723
messageid: <1212944145.99.0.719844270819.issue3063@psf.upfronthosting.co.za>
2008-06-08 16:55:44gtang链接issue3063 messages
2008-06-08 16:55:44gtang创建