[vtkusers] Stack overflow during running setting delny->SetTolerance less then 0.0001

Meisam Aliroteh meisam.aliroteh at gmail.com
Tue Oct 9 22:22:10 EDT 2007


What programming language are you using? I remember having similar problem
on a machine with 2Gb of RAM. I used CMAKE to create visual studio solution
files for my VTK-based programs (using C++) and for the VTK source code
itself (when compiling VTK for the first time). In CMAKE there is a checkbox
with label "Show Advanced Values". When you check this box, some advanced
parameters will show up in the list of Cache Values. Look for the following
flags (as many as you can find) and increase their value (I've set mine to
100Mb and I think the default is 10Mb):

CMAKE_CXX_STACK_SIZE
CMAKE_EXE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS

Of course there are other ways to increase the stack size of your program
(depending on which language and which IDE you use) but using CMAKE seems to
be the easy way.


On 10/9/07, Iryna Pavlyshak <iryna at andrew.cmu.edu> wrote:
>
> Hello all,
>
> help me please to find out a problem!
> I use Delaunay2D for triangulation point clouds.Input data contain more
> then 1500 000 points ( ~47 Mb). When the value of Tolerance is less then
> 0.001  ( for example delny->SetTolerance(0.00001);) the following massage
> appears :
> Unhandled exception at 0x0078cc19 in My_data_asc_47Mb_tol_00001.exe:
> 0xC00000FD: Stack overflow.
>
> Any tips will be appreciated,
>
> Iryna
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20071009/b3a7af93/attachment.htm>


More information about the vtkusers mailing list