No description or website provided.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


I believe I've found a leak in the Datascope routines where it looks like dbfree isn't freeing everything up. I have thrown together a quick test case that demonstrates this leak. Please see

Basically, what happens is that I open a database, do a couple of dblookups, joins, and groups. Then I enter an infinite loop where I iterate over every station, subset that one station, then ungroup.

I make sure to free up the intermediate Dbptrs generated in each loop iteration, but the memory usage still increases steadily over time. After about 20,000 iterations of the outer loop, my process grows to about 5.5 MB in size.

Tested on 5.0-64 and 5.1-64 - Darwin/Intel

See for a python version of this program