A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/079315.html below:

how to explain this memory usage

how to explain this memory usagejavalist javalist at 21cn.com
Thu Apr 26 07:22:51 EDT 2001
Hello python-list,

        in the python 2.0 interpreter,I write some code to make the interpreter
        allocate more than 20M memory,and then I del all the object that I
        create,but python still using that 20M memory,I try import gc,and then
        use gc.collect,no good.python has 20M in memory still.
        also the interpreter has 20M in memory,but seems python knows they are
        pointing nothing and reuse these 20M when I try again allocating more
        object in python,it didn't increase memory until the first 20M is
        occupied by the new allocated object

Best regards,
 javalist                          mailto:javalist at 21cn.com




More information about the Python-list mailing list

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