jit.freenect.grab memory leak ?

Yoann's icon

Hi,

First I want to thank J.M.Pelletier form his external, it's great to have this toy to play with !

I'm working on a patch for an installation using the kinect.
Everything was fine until I let the patch run for a long time.
It looks like the jit.freenect.grab external keep filling up the ram....

Test:
Open jit.freenect.grab help file
In the activity monitor, look at the ram used by max
In my case (MBP 5.3, 8Gb ram, 10.6.8, Max 5.1.9) the memory usage go up about 80mb per 10min

I find a work around with an applescript closing an re-opening the standalone.
But it would be nice not to have to do that...

Thanks

Yoann

2603.Screenshots.zip
zip
dtr's icon

I have the same issue and i've seen more reports of it.

Actually the nicest solution would be an entirely new external based on OpenNI. Jit.freenect.grab is a hack from before the release of the official OpenNI libs. NITE skeleton tracking etc could be included in it too.

I'd do it if I had better coding skills. I might take a shot at it anyway but it 's gonna take a while, if i get anything working at all...

Ivan's icon

Same here. I actually talked to JMP about this when he was implementing it but it seemed like an inconsistent problem. I also agree that it would be great if someone picked up Open NI. There's actually one implementation but I think it Windows only.

I don't know if diablodale has any plans for a OS X port...

Cheers