Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] compiler is out of heap space

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] compiler is out of heap space


Chronological Thread 
  • From: "Sascha Raesch" <>
  • To:
  • Subject: Re: [cgal-discuss] compiler is out of heap space
  • Date: Fri, 25 Sep 2009 11:20:36 +0200 (CEST)
  • Importance: Normal

> 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.

Regards,
Sascha Räsch





Archive powered by MHonArc 2.6.16.

Top of Page