Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Memory leak in parameterization

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Memory leak in parameterization


Chronological Thread 
  • From: Laurent Saboret <>
  • To: ,
  • Subject: Re: [cgal-discuss] Memory leak in parameterization
  • Date: Wed, 02 Sep 2009 10:02:12 +0200

Hi Zohar,

Zohar Levi a écrit :

Laurent,

- About the taucs debug lib making a corrupted exe. Forget the crystal ball, use Tarot cards instead. I'm using vc8 2005.

Please detail what you mean by a "corrupted exe". Is the problem at compilation or execution time? Do you get an error message from the compiler or the OS?


- About the crash in taucs, it occurred in the 600 iteration in my app. (damn, after running for 5 hours!), and will be harder to reproduce the same configuration. I'm not eager to try the library further before we fix the running time of the solver. I could send you my whole code, but I'm afraid you'll have hard time using it, it's a maya plug-in.

- About taus running very, very slow on small meshes. It's great that you narrowed down the problem to a bug in CGAL, in TAUCS, or in my code. I was starting to think there was a problem with my lucky rabbit foot charm :). I'll try to encapsulate the code snippet I gave you inside a working app. to prove my point.

You are right. I do not have Maya and can't debug a Maya plug-in.
Thanks for trying to create a standalone application reproducing your problem.

- About the memory leak in the parameterization. File "fixed_border_parameterizer_3.h" procedure check_parameterize_preconditions() line 407:

int genus = feature_extractor.get_genus();

It blows up my memory after 700 iterations. I didn't pursue the bug until the end, but I presume it is when you add a tag to the vertex info, used as a visiting flag, and you never free it. Just run the parameterize() procedure in a loop on the same polyhedron and watch how the application memory increases.

Thanks for notifying me this memory leak. I will try to reproduce it.

Best regards,
--
Laurent Saboret
INRIA Sophia-Antipolis



  • Re: [cgal-discuss] Memory leak in parameterization, Laurent Saboret, 09/02/2009

Archive powered by MHonArc 2.6.16.

Top of Page