Subject: CGAL users discussion list
List archive
- From: "Sebastien Loriot (GeometryFactory)" <>
- To:
- Subject: Re: [cgal-discuss] Re: Memory Management with Nef_polyhedra
- Date: Mon, 28 Mar 2011 11:56:46 +0200
schrodingersnewcat wrote:
Okay, I've done some more investigating. I got valgrind to work on anExact_predicates_exact_constructions_kernel implements a filtering mechanism maintain a DAG of the cascaded constructions.
executable compiled using intel's c++ compiler (g++ compiled code kept
complaining about -froundingmath when I used valgrind, even though I used
the switch during compile as I should).
So what I found out was this: There appear to be no memory leaks, however
the allocated memory is huge. For 20000 identity transformations the
allocated memory was around 2.7 GB. Is there a reason that asking for level
3 optimization or other compiler switches might cause the memory to grow
like this?
Thanks for any help.
--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Memory-Management-with-Nef-polyhedra-tp3404480p3409822.html
Sent from the cgal-discuss mailing list archive at Nabble.com.
Each transformation creates a note in the DAG.
When the answer to a predicate can be certified using approximated
constructions, the DAG does not change. When approximations are
not sufficient to conclude (what we call a filter failure), a traversal
of the DAG is made and the corresponding path is simplified and replaced
by the corresponding exact value (memory consumption usually decreases).
In general it is not a good idea to use this kernel if you plan to do cascaded constructions.
If gmp is available on your machine, you can try using CGAL::Cartesian<CGAL::Gmpq> (reference counted objects with Gmpq as
number type) or CGAL::Cartesian<CGAL::Lazy_exact_nt<CGAL::Gmpq> >
(reference counted objects with CGAL::Lazy_exact_nt<CGAL::Gmpq> which is
a filtered number type).
S.
- [cgal-discuss] Memory Management with Nef_polyhedra, schrodingersnewcat, 03/25/2011
- [cgal-discuss] Re: Memory Management with Nef_polyhedra, schrodingersnewcat, 03/28/2011
- Re: [cgal-discuss] Re: Memory Management with Nef_polyhedra, Sebastien Loriot (GeometryFactory), 03/28/2011
- [cgal-discuss] Re: Memory Management with Nef_polyhedra, schrodingersnewcat, 03/28/2011
- Re: [cgal-discuss] Re: Memory Management with Nef_polyhedra, Sebastien Loriot (GeometryFactory), 03/28/2011
- [cgal-discuss] Re: Memory Management with Nef_polyhedra, schrodingersnewcat, 03/28/2011
- Re: [cgal-discuss] Re: Memory Management with Nef_polyhedra, Sebastien Loriot (GeometryFactory), 03/28/2011
- [cgal-discuss] Re: Memory Management with Nef_polyhedra, schrodingersnewcat, 03/28/2011
- Re: [cgal-discuss] Re: Memory Management with Nef_polyhedra, Sebastien Loriot (GeometryFactory), 03/28/2011
- [cgal-discuss] Re: Memory Management with Nef_polyhedra, schrodingersnewcat, 03/28/2011
Archive powered by MHonArc 2.6.16.