Forums > MaxMSP

jit.freenect.grab memory leak ?

Sep 03 2011 | 8:20 am


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….

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…




Sep 03 2011 | 12:02 pm

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…

Sep 03 2011 | 3:21 pm

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…


Viewing 3 posts - 1 through 3 (of 3 total)

Forums > MaxMSP