Skip to content
Prev 6789 / 29559 Next

gstat memory

Dear Murray and list,

repairing the memory leaks turned out to be a more fun job than I
thought it would be. Memory leakage mainly took place in the
neighbourhood search algorithm (nsearch.c) which uses a quadtree for 2
and octtree (octree?) for 3-dimensional data. As you can guess, the code
is full with recursion, and was contributed by Steve Joyce, someone much
cleverder than I am, back in 1997, so that was a nice puzzle. But the
leaks should be gone now.

gstat_0.9-64 now propagates through CRAN.

In my enthousiasm, I removed any other memory leak I could. This meant
several code changes at the c level that looked as if back then I made
them to resolve a bug -- of course we didn't have valgrind then. In
other words, I might have introduced new problems. If you encounter
anything unexpected, then please let me know.

Whenever this stabilizes, I will start calling increase gstat's version
number to 1.0_0

Best regards,
--
Edzer
Murray Richardson wrote: