Viktor wrote: > Doesn't free the memory. The memory stays occupied. OK, when I do the > same thing again, no additional memory is occupied. He uses the same > memory allocated first time, but why doesn't he free it and why memory > isn't fread up even if I explicitly call
the memory is released, but it's still assigned to the process. if, how and when it's returned to the operating system depends on a lot of things, most of which are out- side Python's control. (fwiw, this is how dynamic memory management works on most platforms). </F> -- http://mail.python.org/mailman/listinfo/python-list