[eclipse-clp-users] m_map library question

From: Kostas Oikonomou <ko_at_...308...>
Date: Mon, 12 Sep 2011 17:06:04 -0400
I have the following program:

:- lib(m_map).

make4(List, M) :-
         init(M),
         (foreach(X,List) do
             search(M,X,Y)
         ).


When I execute the query

[eclipse 3]: make4([1,2,3], M).
*** Overflow of the local/control stack!
You can use the "-l kBytes" (LOCALSIZE) option to have a 
larger stack.
Peak sizes were: local stack 62464 kbytes, control stack 
68608 kbytes
Abort
[eclipse 4]:

I don't understand what is going on.

				Kostas
Received on Mon Sep 12 2011 - 21:06:10 CEST

This archive was generated by hypermail 2.3.0 : Tue Apr 16 2024 - 09:13:20 CEST