Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] bad_alloc Alpha_Shape

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] bad_alloc Alpha_Shape


Chronological Thread 
  • From: "Sebastien Loriot (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] bad_alloc Alpha_Shape
  • Date: Wed, 16 Nov 2011 17:51:58 +0100

It is highly probable that you are running out of memory.
Check the memory usage will running the application.

How much RAM do you have?

Sebastien.

Juan Carlos Lopez Alfonso wrote:
Hi:

I have a simple code where I try to use alpha_shape class. I have a list of points with more than 3 200 000 of points and when I execute this line:

Alpha_shape_3 as(L.begin(), L.end(), 0, Alpha_shape_3::REGULARIZED);

I have these exception: "bad_alloc". My questions is, Do this exception depend with the size of my data? because with less numbers of points I don't have this problem. I only use memory for my list of points.

Best Regards
Juan Carlos




Archive powered by MHonArc 2.6.16.

Top of Page