Quantcast

Release Build crashes with Failed to Allocate

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Release Build crashes with Failed to Allocate

Riyas Deen
This post has NOT been accepted by the mailing list yet.
This post was updated on .
Hi,

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.

region_growing_segmentation.cpp

Original Cloud Size 13698107
Filtered Cloud Size 44196
[initCompute] Failed to allocate 34263047 indices.

Environment:
PCL 1.8.0
VS 2015 Community
Windows 10

Thanks for your time.

Riyas
Loading...