[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] memory owerflow

From: Tamas Nepusz
Subject: Re: [igraph] memory owerflow
Date: Fri, 13 Jun 2008 11:43:03 +0200

Dear Lubos,

My assumption is that you somehow spotted a memory leak or a defect in Python's garbage collection. I'll try to dig deeper into this issue as soon as I have some time (maybe tomorrow).


On 2008.06.11., at 19:19, Buzna Lubos wrote:

Dear igraph developers,

I am working with igraph library in python. Working with larger network
I have a  memory overflow problems.

The following code allows to simulate it. I am also sending you a small network. I would be happy if you could look if I am doing something wrong or if it is a python feature.

def test3():
   import igraph

   rep = 1000000
   i = 0
   g = igraph.Graph.Read_GML("./test/Hungary.gml")
   while (i < rep):
       g_copy = g.copy()
       # do some network operations (removed for simplicity reasons)
       del g_copy
       print "experiment: " + str(i)
       i = i + 1

Many thanks for your useful work.



igraph-help mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]