Closed PanosFirmpas closed 5 years ago
Hmm, it's quite possible that I missed a free()
somewhere. I'm away at a conference this week, so I'll have a look in the next couple weeks.
FYI, I'm making progress on tracking down the leak, it's happening during the step where the intervals are validated to ensure they're in order. In the interim, if you add the validate=False
option when you add the entries then you can avoid the problematic code. I'm hoping to figure out exactly where the problem is and get a fix out in the next day.
Can you try the fix91
branch and see if that solves the issue for you?
Yes! The test script looks much better now ! I'll see if the big one can finish without crushing as well, this is great thanks for looking into it !
Great, let me know how the larger version does and I'll get this pushed out as a new release.
I had a couple unexpected errors, but it turns out I was running out of disk space ! Memory-wise everything seems super smooth now, cheers for the fix!
Hi,
I noticed that a script of mine that creates a lot of bw files balloons its memory usage until no more memory can be allocated and the system crashes.
I cannibalized some of my code to make the following tiny test script. It creates a number of small bw files, opening and closing a bw in each iteration
I profiled the memory used with memory_profiler and get the following:
Am I doing something wrong? I would expect the memory to be released every time .close() is called