jit.freenect.grab memory leak ?

Sep 3, 2011 at 8:20am

jit.freenect.grab memory leak ?

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

Attachments:
  1. Screenshots.zip
#58747
Sep 3, 2011 at 12:02pm

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…

#211162
Sep 3, 2011 at 3:21pm

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.

http://cycling74.com/forums/topic.php?id=34020

I don’t know if diablodale has any plans for a OS X port…

Cheers

#211163

You must be logged in to reply to this topic.