Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] CGAL 3.5 and \clr "out of heap space"

Subject: CGAL users discussion list

List archive

[cgal-discuss] CGAL 3.5 and \clr "out of heap space"


Chronological Thread 
  • From: <>
  • To:
  • Subject: [cgal-discuss] CGAL 3.5 and \clr "out of heap space"
  • Date: Fri, 30 Oct 2009 21:37:20 +0100 (CET)

Hello everyone.

I am currently trying to use CGAL 3.5 and I am running in a strange error
during compilation of mesh_polyhedral_domain.cpp under Visual Studio 2008, on
Vista 64-bit.

The project compiles and runs fine when I compile it (in release mode).
But if I turn the /clr switch on to use the library within a manaegd
application, I get the following error during compilation :

"Compiler out of heap space"

The command line fed to the compiler is the following :

/O1 /Ob2 /I "C:\CGAL\CGAL-3.5\include" /I
"C:\CGAL\CGAL-3.5\examples\Mesh_3\..\..\include" /I
"C:\CGAL\CGAL-3.5\examples\Mesh_3" /I "C:\CGAL\CGAL-3.5\auxiliary\gmp\include"
/I "C:\boost\boost_1_40_0" /D "WIN32" /D "_WINDOWS" /D
"_CRT_SECURE_NO_DEPRECATE" /D "_SCL_SECURE_NO_DEPRECATE" /D
"_CRT_SECURE_NO_WARNINGS" /D "_SCL_SECURE_NO_WARNINGS" /D "NDEBUG" /D
"CMAKE_INTDIR=\"Release\"" /D "_UNICODE" /D "UNICODE" /FD /EHa /MD /Gy
/Fo"x64\Release\\" /Fd"x64\Release\vc90.pdb" /W3 /nologo /c /Zi /clr /TP
/errorReport:prompt

with additional options : /Zm1000 /fp:except-

Has anyone encountered the same error message and found a solution ?
I tried googling this issue but without success.

Thank you very much

Thibaut Klein


  • [cgal-discuss] CGAL 3.5 and \clr "out of heap space", tklein, 10/30/2009

Archive powered by MHonArc 2.6.16.

Top of Page