Had a memry leak in a large prorgam, which made the program eather break or slow dawn alot:
The main problem was fund in the CopyObject -> DeleteObject functions:
The small test example below increased the memory uses by 474000 kb which it not freed laiter.
s = rs.AddSphere([0,0,0], 25) for i in range(1000): tmp = rs.CopyObject(s) rs.DeleteObject(tmp)
Have tried gc.collect() to force the collecting, with no result.