space problems?????

From: Thomas Linke <linke_at_cs.uni-potsdam.de>
Date: Mon 08 Jan 2001 06:33:53 PM GMT
Message-Id: <200101081833.TAA09762@sark.haiti.cs.uni-potsdam.de>
Hello,

currently I am writing a program (with eclipse;-) that 
tooks a directed graph and compiles this graph to a set of
prolog clauses in order to color the graph.
The comiled code becomes somewhat large (eg > 10MB).
If the compiled code is not that large, everything works.
But with large examples I alway get problems.
I get thew following messages:

Segmentation violation - possible reasons are:
- a faulty external C function
- certain operations on circular terms
- machine stack overflow
- an internal error in ECLiPSe
Aborting execution....

*** ECLiPSe fatal error: reset/0 called
.eclipserc compiled traceable 0 bytes in 0.00 seconds
ECLiPSe Constraint Logic Programming System [sepia parallel mps]
Version 4.0.2, Copyright ECRC GmbH and ICL/IC-Parc, Fri Jul 28 15:30 1998

on SunOS Solaris 2.7 or

*** Overflow of the global/trail stack in spite of garbage collection !
The stack sizes are limited by the available swap space.
Current sizes: global stack 130942 kbytes, trail stack 30 kbytes

on Linux.

This messages occure if I first store the compiled code (eg. in
test.pl) and then doing ensure_loaded(test)
and if I "assert" the compiled code clause by clause with
compile_term(C).

Do You have any ideas what to do?

Regards
Thomas

-----------------------------------
Thomas Linke
Universitaet Potsdam
Institut fuer Informatik
Postfach 60 15 53
14415 Potsdam
Germany
Tel:	0331-977-1695
FAX:	0331-977-1720
email:	linke@cs.uni-potsdam.de
-----------------------------------
Received on Mon Jan 08 18:34:32 2001

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:08:02 PM GMT GMT