Robert Crida wrote: > Hi > > I don't think it is a python issue because if you change the line b = > str(a) to just read > str(a) > then the problem still occurs. > > Also, if you change a to be a list instead of ndarray then the problem > does not occur. How do you know there is a memory leak ? cheers, David