Subject: CGAL users discussion list
List archive
- From: "Laurent Rineau (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] compiler is out of heap space
- Date: Fri, 25 Sep 2009 13:32:47 +0200
- Organization: GeometryFactory
Le vendredi 25 septembre 2009 11:20:36, Sascha Raesch a écrit :
> > Sascha Räsch wrote:
> >> Hi,
> >>
> >> I'm using CGAL-3.5-beta1. My compiler (MSVC++ 2005) runs out of heap
> >> space if I compile the example
> >>
> >> examples/Mesh_3/mesh_polyhedral_domain.cpp
> >> <http://www.cgal.org/Manual/beta/examples/Mesh_3/mesh_polyhedral_domain.
> >>cpp>
> >>
> >>
> >> If I try instead to compile the code in the release mode, it succeeds
> >>
> >> Thanks for any help in advance
> >
> > Hi Sascha,
> >
> > Did you try to increase the heap size in the settings of your project ?
> > You may use /Zm option in additionnal command line parameters.
> >
> > Regards,
> > --
> > Stephane Tayeb
> > Software engineer - INRIA Sophia Antipolis
> > Geometrica Project-Team
> > --
> > You are currently subscribed to cgal-discuss.
> > To unsubscribe or access the archives, go to
> > https://lists-sop.inria.fr/wws/info/cgal-discuss
>
> Hallo Stephane,
>
> thanks for your reply. In fact I tried to increase the heap size with the
> /Zm option. I was monitoring the compilation process with the task
> manager. The compiler allocated more than 3 GB memory during compilation.
> In contrast, the compilation process in the release mode used less than 1
> GB heap space. I guess it is an infinite template based recursion. It
> seems, that the recursion take place in Static_filters.h.
No, that is not infinite, just an important depth of templates recursions.
Your
compiler seems particularly bad at dealing with debugging informations. You
should try to tweak the debugging options in debug mode, to reduce the memory
consumption.
This example examples/Mesh_3/mesh_polyhedral_domain.cpp has been compiled in
debug mode by the CGAL testsuite, each day. The compiler was MSVC2008,
though.
Maybe MSVC2005 has difficulties with it. Do you have access to MSVS2008?
--
Laurent Rineau, PhD
Release Manager of the CGAL Project
http://www.cgal.org/
R&D Engineer at GeometryFactory
http://www.geometryfactory.com/
- [cgal-discuss] compiler is out of heap space, Sascha Räsch, 09/23/2009
- Re: [cgal-discuss] compiler is out of heap space, Stephane Tayeb, 09/24/2009
- Re: [cgal-discuss] compiler is out of heap space, Sascha Raesch, 09/25/2009
- Re: [cgal-discuss] compiler is out of heap space, Laurent Rineau (GeometryFactory), 09/25/2009
- Re: [cgal-discuss] compiler is out of heap space, Sascha Raesch, 09/25/2009
- Re: [cgal-discuss] compiler is out of heap space, Stephane Tayeb, 09/24/2009
Archive powered by MHonArc 2.6.16.