shiffman/libfreenect — Issue #18: kinect.getRawDepth() memory leak?
Author: hightop
Created: 2011-10-23 08:40:44+00:00
State: open

i've been trying to figure out why my processing app using openkinect was crashing out consistently at 4hours 40min, and now my best guess is that there's a memory leak in kinect.getRawDepth() . not sure if this happens on everyone's computer, but i'm working on a brand new mac mini (Model: Macmini5,2, Intel Core i5, 2.5 GHz, 4 GB) with lion and the latest installation of java.

in any case, when i run the openkinect point cloud demo, i'm also getting the crash at about the same time interval (4h45m / 5 hrs), and i'm suspecting getRawDepth because i'm still seeing a memory leak when i comment out everything in the pointcloud demo except kinect.getRawDepth() . in the 10 minutes it took me to log in and make a couple comments here my real memory useage has gone from 60.2MB to 142.1MB. figure this may be an issue with libfreenect?