This post has NOT been accepted by the mailing list yet.
This post was updated on .
I'm rather new to PCL and C++. I have this piece of code which segments planes in a point cloud. The code works fine in debug mode. However release configuration keeps crashing with [initCompute] Failed to allocate 34263047 indices. The number of indices keeps changing in every attempt.
Not sure what needs to be done, i think PCL uses smart pointers which means i don't have to release references explicitly.
Any thoughts on how to get around it? I'm attaching my code below for reference.