[eclipse-users] Overflow of the global/trail stack in spite of garbage collection!

From: Giuseppe Di Guglielmo <diguglielmo_at_sci.univr.it>
Date: Wed, 25 Oct 2006 16:04:35 +0200
Dear All,
I have tried the following example
p :-  X :: -536870912..536870911, 
      Y :: -536870912..536870911, 
     (X #= 0) and (neg(Y #= 0)) ,  
     indomain(X, random), 
     indomain(Y, random), 
     writeln(X), 
     writeln(Y).
and eclipse gave me the error
 
 *** Overflow of the global/trail stack in spite of garbage collection!
 You are probably out of virtual memory (swap space).
 Peak sizes were: global stack 56620 kbytes, trail stack 4180 kbytes

So I tried with the -g 512M option (see
http://eclipse.crosscoreop.com:8080/eclipse/faq/index.html#Error%20messages8
)

Now how can I increase the global stack size when I call ECLiPSe from C++ ?

Thanks,


----------------------------------------------------------------------------
-
 Giuseppe Di Guglielmo       Dept. of Computer Science - University of
Verona  
 Strada le Grazie, 15 - 37134 Verona - Italy
 Phone:   +39 045 8027049         Fax:   +39 045 8027068
 email: diguglielmo_at_sci.univr.it  WWW:
http://profs.sci.univr.it/~diguglielmo
 Skype: giuseppe.diguglielmo
----------------------------------------------------------------------------
-
Received on Wed Oct 25 2006 - 15:06:17 CEST

This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 02:31:57 CET