On Thu, 2011-01-06 at 23:27 +0100, gabor papp wrote: > > I've added a custom allocator for all primitive data so we can intercept > > memory calls for debugging fluxus in a slightly saner way than using > > valgrind. > great! i hope we can find the leak with this. > > i had to change malloc.h to stdlib.h in Allocator.h to make it compile > on osx. i think this does not break anything in linux.
Yep it's fine. I've made the stats work properly now, it keeps a set of the pointers currently allocated. This is also all in the cpp file so we can fiddle with the debugging without incuring a full rebuild (which takes ages on my netbook :) cheers, dave
