Closed lucasb-eyer closed 10 years ago
This is an obvious one. _history
is never deleted... Fixing in a few minutes.
Oh, shit. Haven't noticed this. I will have a look at this and try to fix it today.
Don't need to, already fixed, gonna push it after testing.
Fixed in afaa00bc
Fantastic, good catch! I never had a good look at the code since it's taken more or less as is(with one simple addition to remove some of the noise) from pcl. So the leak should be there in pcl approximate_voxel_grid as well.
Yeah, destructor missing in ROS version of PCL also, but it is fixed in the new version.
There seems to be a big memory leak in
subsample_cloud
, i.e.subsample_cloud.cpp
(unlikely) ornoise_approximate_voxel_grid.cpp/.h
(likely.)This morning, the robot stood still. It does so because both the RAM and the swap are completely full.
subsample_cloud
fills about 3.5Gb andrviz
the remaining 2.6Gb.@marc-hanheide is running the unittests on Jetkins through valgrind an option? Though I guess that wouldn't have found this one as it's not part of a test-suite?