[vtkusers] VC++ stack overflow problem

Asad A. Abu-Tarif asad at cat.rpi.edu
Thu Sep 14 12:12:06 EDT 2000


Hi Miguel
>From the VC++ Workspace, go to Project->Settings select the Link tab.
In the Category drop down list, select output.
The Reserve field is the size in bytes for the stack. The default size is 1MB.

To change it from the command line, use the /STACK linker option.
Another way to do it is to use the STACKSIZE command.

>From the VC++ help, if you search for /STACK it will give more detailed information.

Asad

Miguel Angel Martin Fernandez wrote:

> Hello dear users,
>
>         I've made a class in vtk with a lot of recursion (basically a
> filling algorithm). I've been wroking in linux and I haven't got any
> problem at all. But now, I'm trying to port it to a SG with Windows NT and
> VC++. It compiles well, but I try to probe it with an example made in C++
> an I obtain a stack overflow.
>
>         Do you know if I can change something in the compilation
> parameters to avoid this problem? I'm really a newbie in VC++. I used to
> work a long time ago with Borland and it was posible to change the memory
> parameters.
>
>         Any help or suggestion will be welcome!
>
>         Thanks in advance.
>
>   _____________________________________________________
>  (_                                                   _)
>  (_ Miguel Ángel Martín Fernández                     _)
>  (_ ETSI Telecomunicación, Universidad de Valladolid  _)
>  (_ Campus Miguel Delibes, Camino del Cementerio, s/n _)
>  (_ e-mail: miguel at atenea.tel.uva.es                  _)
>  (_ Tfno: +34-983-423000 Ext. 25548                   _)
>  (_____________________________________________________)
>
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers





More information about the vtkusers mailing list