On Sep 26, 8:06 am, Berteun Damman <[EMAIL PROTECTED]> wrote:
> that have been created after I don't need them anymore. I furthermore
> don't really see why there would be references to these larger objects
> left. (I can be mistaken of course).
This could be tricky because you have a graph that
On Sep 26, 2:31 pm, Bjoern Schliessmann wrote:
> Did you check the return value of gc.collect? Also, try using
> other "insight" facilities provided by the gc module.
gc.collect states it cannot find any unreachable objects. Meanwhile
the number of objects the garbage collector has to keep track o
Berteun Damman wrote:
> When I run a test, I disable the garbage collection during the
> test run (as is adviced), but just before starting a test I
> instruct the garbage collector to collect. Running the test
> without disabling the garbage collect doesn't show any difference
> though.
Did you
Hello,
I have programmed some python script that loads a graph (the
mathemical one with vertices and edges) into memory, does some
transformations on it, and then tries to find shortest paths in this
graph, typically several tens of thousands. This works fine.
Then I made a test for this, so I co
On Mar 19, 11:34 am, "Erik Johnson" <[EMAIL PROTECTED]> wrote:
> Sort of two questions here:
>
> The first is about the internal view: are there Python introspection
> functions that can be called such that a running script can keep tabs on how
> much memory is being used?
>
> And the sec
Sort of two questions here:
The first is about the internal view: are there Python introspection
functions that can be called such that a running script can keep tabs on how
much memory is being used?
And the second is about using either os or system calls on Windows such
that a Python